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