98 references to Win32Exception
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (2)
ProcessTracker.cs (2)
43throw new Win32Exception(); 61throw new Win32Exception();
Microsoft.Build (1)
BackEnd\Components\Communications\NodeLauncher.cs (1)
165System.ComponentModel.Win32Exception e = new System.ComponentModel.Win32Exception();
Microsoft.Build.Engine (2)
LocalProvider\SharedMemory.cs (1)
171throw new System.ComponentModel.Win32Exception();
Shared\FileUtilities.cs (1)
772throw new System.ComponentModel.Win32Exception();
Microsoft.DotNet.RemoteExecutor (1)
MiniDump.cs (1)
33throw new Win32Exception();
PresentationCore (13)
MS\Internal\AppModel\CookieHandler.cs (2)
128throw new Win32Exception(/*uses last error code*/); 146throw new Win32Exception(/*uses last error code*/);
MS\Internal\DpiUtil\DpiUtil+HwndDpiInfo.cs (1)
60throw new Win32Exception();
MS\Internal\FontCache\FontCacheUtil.cs (1)
380throw new Win32Exception();
MS\Internal\Text\TextInterface\DWriteLoader.cs (1)
22throw new DllNotFoundException("dwrite.dll", new Win32Exception());
System\Windows\DataFormats.cs (1)
105throw new System.ComponentModel.Win32Exception();
System\Windows\dataobject.cs (2)
1086throw new System.ComponentModel.Win32Exception(); 1152throw new System.ComponentModel.Win32Exception();
System\Windows\InterOp\D3DImage.cs (1)
714throw new Win32Exception();
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
244throw new System.ComponentModel.Win32Exception();
System\Windows\Media\Imaging\BitmapDownload.cs (1)
156throw new Win32Exception();
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1336throw new Win32Exception();
System\Windows\UIElement.cs (1)
1154throw new Win32Exception();
PresentationFramework (55)
MS\Internal\AppModel\AppSecurityManager.cs (1)
155new System.ComponentModel.Win32Exception(/*uses the last Win32 error*/));
System\Windows\Controls\Primitives\Popup.cs (1)
3234throw new Win32Exception();
System\Windows\Standard\NativeMethods.cs (12)
2400throw new Win32Exception(); 2460throw new Win32Exception(); 2475throw new Win32Exception(); 2490throw new Win32Exception(); 2680throw new Win32Exception(); 2694throw new Win32Exception(); 2819throw new Win32Exception(); 2860throw new Win32Exception(); 2901throw new Win32Exception(); 2970throw new Win32Exception(); 3060throw new Win32Exception(); 3085throw new Win32Exception();
System\Windows\SystemParameters.cs (40)
130throw new Win32Exception(); 161throw new Win32Exception(); 193throw new Win32Exception(); 222throw new Win32Exception(); 312throw new Win32Exception(); 341throw new Win32Exception(); 370throw new Win32Exception(); 477throw new Win32Exception(); 595throw new Win32Exception(); 623throw new Win32Exception(); 651throw new Win32Exception(); 679throw new Win32Exception(); 707throw new Win32Exception(); 735throw new Win32Exception(); 771throw new Win32Exception(); 802throw new Win32Exception(); 834throw new Win32Exception(); 1015throw new Win32Exception(); 1042throw new Win32Exception(); 1071throw new Win32Exception(); 1174throw new Win32Exception(); 1205throw new Win32Exception(); 1238throw new Win32Exception(); 1266throw new Win32Exception(); 1294throw new Win32Exception(); 1322throw new Win32Exception(); 1373throw new Win32Exception(); 1401throw new Win32Exception(); 1429throw new Win32Exception(); 1474throw new Win32Exception(); 1502throw new Win32Exception(); 1530throw new Win32Exception(); 1809throw new Win32Exception(); 1837throw new Win32Exception(); 1887throw new Win32Exception(); 1917throw new Win32Exception(); 1946throw new Win32Exception(); 1975throw new Win32Exception(); 4984throw new Win32Exception(); 5786throw new Win32Exception();
System\Windows\Window.cs (1)
3804throw new Win32Exception();
ReachFramework (3)
PrintConfig\FallbackPTProvider.cs (3)
522throw new Win32Exception(); 594throw new Win32Exception(); 610throw new Win32Exception();
System.Console (1)
System\ConsolePal.Unix.cs (1)
899throw new Win32Exception();
System.Diagnostics.Process (8)
System\Diagnostics\Process.Linux.cs (2)
189throw new Win32Exception(); // match Windows exception 200throw new Win32Exception(); // match Windows exception
System\Diagnostics\Process.Unix.cs (6)
87throw new Win32Exception(); // same exception as on Windows 119(exceptions ??= new List<Exception>()).Add(new Win32Exception()); 133(exceptions ??= new List<Exception>()).Add(new Win32Exception()); 301throw new Win32Exception(); // match Windows exception 827throw new Win32Exception(); 1078throw new Win32Exception();
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\NativeMethods.cs (1)
362throw new Win32Exception();
UIAutomationClient (1)
MS\Internal\Automation\WinEventWrap.cs (1)
120throw new Win32Exception();
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (1)
1484throw new Win32Exception();
UIAutomationTypes (9)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (9)
123throw new Win32Exception(); 439throw new Win32Exception(); 600throw new Win32Exception(); 668throw new Win32Exception(); 690throw new Win32Exception(); 940throw new Win32Exception(); 1005throw new Win32Exception(); 1258throw new Win32Exception(); 1270throw new Win32Exception();