125 references to IsCriticalException
PresentationFramework (2)
MS\Internal\DataStreams.cs (2)
128catch (Exception ex) when (!ex.IsCriticalException()) 257catch (Exception ex) when (!ex.IsCriticalException())
System.Private.Windows.Core (5)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (1)
800catch (Exception ex) when (!ex.IsCriticalException())
System\Private\Windows\Ole\BinaryFormatUtilities.cs (1)
36catch (Exception ex) when (!ex.IsCriticalException())
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (1)
274catch (Exception e) when (!e.IsCriticalException())
System\Private\Windows\Ole\TypeBinder.cs (1)
126catch (Exception ex) when (!ex.IsCriticalException())
System\TypeExtensions.cs (1)
278catch (Exception e) when (!e.IsCriticalException())
System.Windows.Forms (72)
misc\MultitargetUtil.cs (1)
30catch (Exception e) when (!e.IsCriticalException())
System\Resources\ResXDataNode.cs (4)
258catch (Exception ex) when (!ex.IsCriticalException()) 305catch (Exception ex) when (!ex.IsCriticalException()) 438catch (Exception ex) when (!ex.IsCriticalException()) 569if (ex.IsCriticalException())
System\Resources\ResXResourceReader.cs (1)
396if (e.IsCriticalException())
System\Windows\Forms\ActiveX\AxHost.PropertyBagStream.cs (3)
34catch (Exception ex) when (!ex.IsCriticalException()) 51catch (Exception inner) when (!inner.IsCriticalException()) 112catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (4)
1107if (ex.IsCriticalException()) 1136catch (Exception ex) when (!ex.IsCriticalException()) 1378catch (Exception e) when (!e.IsCriticalException()) 1523catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\ActiveX\Control.ActiveXImpl.PropertyBagStream.cs (1)
35catch (Exception e) when (!e.IsCriticalException())
System\Windows\Forms\Application.cs (1)
389catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (2)
533catch (Exception ex) when (!ex.IsCriticalException()) 752catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Control.ControlCollection.cs (1)
222catch (Exception e) when (!e.IsCriticalException())
System\Windows\Forms\Control.cs (2)
7548catch (Exception ex) when (!ex.IsCriticalException()) 11874catch (Exception ex) when (!ex.IsCriticalException() || ex is OutOfMemoryException)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (6)
1122catch (Exception exception) when (!exception.IsCriticalException() || exception is IndexOutOfRangeException) 1148catch (Exception exception) when (!exception.IsCriticalException() || exception is IndexOutOfRangeException) 1180catch (Exception exception) when (!exception.IsCriticalException() || exception is IndexOutOfRangeException) 1364catch (Exception exception) when (!exception.IsCriticalException()) 1417catch (Exception exception) when (!exception.IsCriticalException()) 1492catch (Exception exception) when (!exception.IsCriticalException())
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (6)
3099catch (Exception exception) when (!exception.IsCriticalException()) 9703catch (Exception exception) when (!exception.IsCriticalException()) 9735catch (Exception exception) when (!exception.IsCriticalException()) 16723catch (Exception ex) when (!ex.IsCriticalException()) 19989catch (Exception exception) when (!exception.IsCriticalException()) 25382catch (Exception e) when (!e.IsCriticalException())
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
1626catch (Exception exception) when (!exception.IsCriticalException())
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
161catch (Exception exception) when (!exception.IsCriticalException()) 171catch (Exception exception) when (!exception.IsCriticalException())
System\Windows\Forms\Controls\ListControl\ListControl.cs (1)
565catch (Exception exception) when (!exception.IsCriticalException())
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
1119catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
237catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
2058catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
234catch (Exception e) when (!e.IsCriticalException())
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.cs (1)
83catch (Exception e) when (!e.IsCriticalException())
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
3350catch (Exception ex) when (!ex.IsCriticalException()) 3377catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (3)
2337catch (Exception exception) when (!exception.IsCriticalException()) 2735catch (Exception ex) when (!ex.IsCriticalException()) 2874catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (1)
290catch (Exception e) when (!e.IsCriticalException())
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
1008catch (Exception e) when (!e.IsCriticalException())
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.cs (1)
270catch (Exception e) when (!e.IsCriticalException())
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (7)
180catch (Exception ex) when (!ex.IsCriticalException()) 205catch (Exception ex) when (!ex.IsCriticalException()) 230catch (Exception ex) when (!ex.IsCriticalException()) 255catch (Exception ex) when (!ex.IsCriticalException()) 280catch (Exception ex) when (!ex.IsCriticalException()) 559catch (Exception ex) when (!ex.IsCriticalException()) 670catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (1)
629catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (11)
636catch (Exception ex) when (!ex.IsCriticalException()) 658catch (Exception ex) when (!ex.IsCriticalException()) 818catch (Exception ex) when (!ex.IsCriticalException()) 842catch (Exception ex) when (!ex.IsCriticalException()) 869catch (Exception ex) when (!ex.IsCriticalException()) 907catch (Exception ex) when (!ex.IsCriticalException()) 923catch (Exception ex) when (!ex.IsCriticalException()) 938catch (Exception ex) when (!ex.IsCriticalException()) 954catch (Exception ex) when (!ex.IsCriticalException()) 970catch (Exception ex) when (!ex.IsCriticalException()) 985catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
349catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\DataBinding\Binding.cs (1)
629catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Rendering\DCMapping.cs (1)
102catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (1)
549catch (Exception e) when (!e.IsCriticalException())
System.Windows.Forms.Design (46)
System\ComponentModel\Design\CollectionEditor.CollectionForm.cs (1)
103catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.MouseHook.cs (1)
113if (ex.IsCriticalException())
System\Windows\Forms\Design\CommandSet.CommandSetItem.cs (1)
187if (e.IsCriticalException())
System\Windows\Forms\Design\CommandSet.cs (2)
338catch (Exception ex) when (!ex.IsCriticalException()) 545catch (Exception e) when (!e.IsCriticalException())
System\Windows\Forms\Design\ComponentTray.cs (5)
1092if (e.IsCriticalException()) 1251if (ex.IsCriticalException()) 1276catch (Exception ex) when (!ex.IsCriticalException()) 1363catch (Exception ex) when (!ex.IsCriticalException()) 2933catch (Exception e) when (!e.IsCriticalException())
System\Windows\Forms\Design\ControlDesigner.cs (2)
1728if (e.IsCriticalException()) 2386if (e.IsCriticalException())
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
360if (ExceptionExtensions.IsCriticalException(e))
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
737if (ExceptionExtensions.IsCriticalException(ex)) 1076if (ExceptionExtensions.IsCriticalException(ex))
System\Windows\Forms\Design\DesignerFrame.cs (1)
147catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Design\DocumentDesigner.cs (1)
1382if (e.IsCriticalException())
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUI.cs (1)
148catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
390catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Design\OleDragDropHandler.cs (2)
117catch (Exception ex) when (!ex.IsCriticalException()) 347catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Design\ParentControlDesigner.cs (3)
1435catch (Exception e) when (!e.IsCriticalException()) 1839catch (Exception e) when (!e.IsCriticalException()) 1875catch (Exception e) when (!e.IsCriticalException())
System\Windows\Forms\Design\SelectionUIService.cs (2)
590catch (Exception e) when (!e.IsCriticalException()) 741catch (Exception e) when (!e.IsCriticalException())
System\Windows\Forms\Design\SelectionUIService.HitTestInfo.cs (1)
34catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Design\SplitContainerDesigner.cs (1)
295catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Design\StandardCommandToolStripMenuItem.cs (1)
92catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
629catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Design\TabOrder.cs (1)
835catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (2)
90catch (Exception e) when (!e.IsCriticalException()) 124if (ex.IsCriticalException())
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
591if (ex.IsCriticalException())
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
576catch (Exception e) when (!e.IsCriticalException())
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
817if (ex.IsCriticalException())
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (5)
418if (ex.IsCriticalException()) 457if (ex.IsCriticalException()) 496if (ex.IsCriticalException()) 535catch (Exception ex) when (!ex.IsCriticalException()) 558if (ex.IsCriticalException())
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
396if (e.IsCriticalException()) 820catch (Exception ex) when (!ex.IsCriticalException())
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (2)
1449catch (Exception e) when (!e.IsCriticalException()) 1475catch (Exception e) when (!e.IsCriticalException())
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1414catch (Exception ex) when (!ex.IsCriticalException())