126 references to IsCriticalException
PresentationFramework (2)
MS\Internal\DataStreams.cs (2)
128
catch (Exception ex) when (!ex.
IsCriticalException
())
257
catch (Exception ex) when (!ex.
IsCriticalException
())
System.Private.Windows.Core (5)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (1)
800
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Private\Windows\Ole\BinaryFormatUtilities.cs (1)
36
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (1)
335
catch (Exception e) when (!e.
IsCriticalException
())
System\Private\Windows\Ole\TypeBinder.cs (1)
126
catch (Exception ex) when (!ex.
IsCriticalException
())
System\TypeExtensions.cs (1)
278
catch (Exception e) when (!e.
IsCriticalException
())
System.Windows.Forms (73)
misc\MultitargetUtil.cs (1)
30
catch (Exception e) when (!e.
IsCriticalException
())
System\Resources\ResXDataNode.cs (4)
258
catch (Exception ex) when (!ex.
IsCriticalException
())
305
catch (Exception ex) when (!ex.
IsCriticalException
())
438
catch (Exception ex) when (!ex.
IsCriticalException
())
569
if (ex.
IsCriticalException
())
System\Resources\ResXResourceReader.cs (1)
393
if (e.
IsCriticalException
())
System\Windows\Forms\ActiveX\AxHost.PropertyBagStream.cs (3)
34
catch (Exception ex) when (!ex.
IsCriticalException
())
51
catch (Exception inner) when (!inner.
IsCriticalException
())
112
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (4)
1107
if (ex.
IsCriticalException
())
1136
catch (Exception ex) when (!ex.
IsCriticalException
())
1378
catch (Exception e) when (!e.
IsCriticalException
())
1523
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\ActiveX\Control.ActiveXImpl.PropertyBagStream.cs (1)
35
catch (Exception e) when (!e.
IsCriticalException
())
System\Windows\Forms\Application.cs (1)
426
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (2)
533
catch (Exception ex) when (!ex.
IsCriticalException
())
752
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Control.ControlCollection.cs (1)
222
catch (Exception e) when (!e.
IsCriticalException
())
System\Windows\Forms\Control.cs (2)
7562
catch (Exception ex) when (!ex.
IsCriticalException
())
11885
catch (Exception ex) when (!ex.
IsCriticalException
() || ex is OutOfMemoryException)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (6)
1122
catch (Exception exception) when (!exception.
IsCriticalException
() || exception is IndexOutOfRangeException)
1148
catch (Exception exception) when (!exception.
IsCriticalException
() || exception is IndexOutOfRangeException)
1180
catch (Exception exception) when (!exception.
IsCriticalException
() || exception is IndexOutOfRangeException)
1364
catch (Exception exception) when (!exception.
IsCriticalException
())
1417
catch (Exception exception) when (!exception.
IsCriticalException
())
1492
catch (Exception exception) when (!exception.
IsCriticalException
())
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (6)
3096
catch (Exception exception) when (!exception.
IsCriticalException
())
9700
catch (Exception exception) when (!exception.
IsCriticalException
())
9732
catch (Exception exception) when (!exception.
IsCriticalException
())
16720
catch (Exception ex) when (!ex.
IsCriticalException
())
19986
catch (Exception exception) when (!exception.
IsCriticalException
())
25379
catch (Exception e) when (!e.
IsCriticalException
())
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
1615
catch (Exception exception) when (!exception.
IsCriticalException
())
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
161
catch (Exception exception) when (!exception.
IsCriticalException
())
171
catch (Exception exception) when (!exception.
IsCriticalException
())
System\Windows\Forms\Controls\ListControl\ListControl.cs (1)
566
catch (Exception exception) when (!exception.
IsCriticalException
())
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
2107
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
1115
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
239
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
2055
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
234
catch (Exception e) when (!e.
IsCriticalException
())
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.cs (1)
83
catch (Exception e) when (!e.
IsCriticalException
())
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
3373
catch (Exception ex) when (!ex.
IsCriticalException
())
3400
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (3)
2337
catch (Exception exception) when (!exception.
IsCriticalException
())
2735
catch (Exception ex) when (!ex.
IsCriticalException
())
2874
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (1)
290
catch (Exception e) when (!e.
IsCriticalException
())
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
1008
catch (Exception e) when (!e.
IsCriticalException
())
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.cs (1)
270
catch (Exception e) when (!e.
IsCriticalException
())
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (7)
180
catch (Exception ex) when (!ex.
IsCriticalException
())
205
catch (Exception ex) when (!ex.
IsCriticalException
())
230
catch (Exception ex) when (!ex.
IsCriticalException
())
255
catch (Exception ex) when (!ex.
IsCriticalException
())
280
catch (Exception ex) when (!ex.
IsCriticalException
())
559
catch (Exception ex) when (!ex.
IsCriticalException
())
670
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (1)
629
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (11)
636
catch (Exception ex) when (!ex.
IsCriticalException
())
658
catch (Exception ex) when (!ex.
IsCriticalException
())
818
catch (Exception ex) when (!ex.
IsCriticalException
())
842
catch (Exception ex) when (!ex.
IsCriticalException
())
869
catch (Exception ex) when (!ex.
IsCriticalException
())
907
catch (Exception ex) when (!ex.
IsCriticalException
())
923
catch (Exception ex) when (!ex.
IsCriticalException
())
938
catch (Exception ex) when (!ex.
IsCriticalException
())
954
catch (Exception ex) when (!ex.
IsCriticalException
())
970
catch (Exception ex) when (!ex.
IsCriticalException
())
985
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
349
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\DataBinding\Binding.cs (1)
629
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Rendering\DCMapping.cs (1)
102
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (1)
549
catch (Exception e) when (!e.
IsCriticalException
())
System.Windows.Forms.Design (46)
System\ComponentModel\Design\CollectionEditor.CollectionForm.cs (1)
103
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.MouseHook.cs (1)
113
if (ex.
IsCriticalException
())
System\Windows\Forms\Design\CommandSet.CommandSetItem.cs (1)
187
if (e.
IsCriticalException
())
System\Windows\Forms\Design\CommandSet.cs (2)
335
catch (Exception ex) when (!ex.
IsCriticalException
())
539
catch (Exception e) when (!e.
IsCriticalException
())
System\Windows\Forms\Design\ComponentTray.cs (5)
1077
if (e.
IsCriticalException
())
1236
if (ex.
IsCriticalException
())
1261
catch (Exception ex) when (!ex.
IsCriticalException
())
1348
catch (Exception ex) when (!ex.
IsCriticalException
())
2912
catch (Exception e) when (!e.
IsCriticalException
())
System\Windows\Forms\Design\ControlDesigner.cs (2)
1728
if (e.
IsCriticalException
())
2386
if (e.
IsCriticalException
())
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
360
if (ExceptionExtensions.
IsCriticalException
(e))
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
737
if (ExceptionExtensions.
IsCriticalException
(ex))
1076
if (ExceptionExtensions.
IsCriticalException
(ex))
System\Windows\Forms\Design\DesignerFrame.cs (1)
144
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Design\DocumentDesigner.cs (1)
1352
if (e.
IsCriticalException
())
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUI.cs (1)
148
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
390
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Design\OleDragDropHandler.cs (2)
117
catch (Exception ex) when (!ex.
IsCriticalException
())
347
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Design\ParentControlDesigner.cs (3)
1435
catch (Exception e) when (!e.
IsCriticalException
())
1833
catch (Exception e) when (!e.
IsCriticalException
())
1869
catch (Exception e) when (!e.
IsCriticalException
())
System\Windows\Forms\Design\SelectionUIService.cs (2)
584
catch (Exception e) when (!e.
IsCriticalException
())
735
catch (Exception e) when (!e.
IsCriticalException
())
System\Windows\Forms\Design\SelectionUIService.HitTestInfo.cs (1)
34
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Design\SplitContainerDesigner.cs (1)
295
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Design\StandardCommandToolStripMenuItem.cs (1)
92
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
626
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Design\TabOrder.cs (1)
823
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (2)
90
catch (Exception e) when (!e.
IsCriticalException
())
121
if (ex.
IsCriticalException
())
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
587
if (ex.
IsCriticalException
())
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
573
catch (Exception e) when (!e.
IsCriticalException
())
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
814
if (ex.
IsCriticalException
())
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (5)
418
if (ex.
IsCriticalException
())
457
if (ex.
IsCriticalException
())
496
if (ex.
IsCriticalException
())
535
catch (Exception ex) when (!ex.
IsCriticalException
())
555
if (ex.
IsCriticalException
())
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
390
if (e.
IsCriticalException
())
799
catch (Exception ex) when (!ex.
IsCriticalException
())
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (2)
1416
catch (Exception e) when (!e.
IsCriticalException
())
1442
catch (Exception e) when (!e.
IsCriticalException
())
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1405
catch (Exception ex) when (!ex.
IsCriticalException
())