180 references to EnumValidator
System.Windows.Forms (180)
System\Windows\Forms\Application.cs (1)
1461SourceGenerated.EnumValidator.Validate(highDpiMode, nameof(highDpiMode));
System\Windows\Forms\Control.cs (3)
613SourceGenerated.EnumValidator.Validate(value); 973SourceGenerated.EnumValidator.Validate(value); 2961SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Control.Ime.cs (1)
164SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\Buttons\Button.cs (2)
55SourceGenerated.EnumValidator.Validate(value); 146SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (4)
395SourceGenerated.EnumValidator.Validate(value); 484SourceGenerated.EnumValidator.Validate(value); 737SourceGenerated.EnumValidator.Validate(value); 766SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\Buttons\CheckBox.cs (3)
68SourceGenerated.EnumValidator.Validate(value); 139SourceGenerated.EnumValidator.Validate(value); 193SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (2)
87SourceGenerated.EnumValidator.Validate(value); 130SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (5)
146SourceGenerated.EnumValidator.Validate(value); 187SourceGenerated.EnumValidator.Validate(value); 430SourceGenerated.EnumValidator.Validate(value); 523SourceGenerated.EnumValidator.Validate(value); 1066SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (10)
1075SourceGenerated.EnumValidator.Validate(value); 1234SourceGenerated.EnumValidator.Validate(value); 1374SourceGenerated.EnumValidator.Validate(value); 1452SourceGenerated.EnumValidator.Validate(value); 1618SourceGenerated.EnumValidator.Validate(value); 2157SourceGenerated.EnumValidator.Validate(value); 3248SourceGenerated.EnumValidator.Validate(value); 3459SourceGenerated.EnumValidator.Validate(value); 3587SourceGenerated.EnumValidator.Validate(value); 3748SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\DataGridView\DataGridViewAdvancedBorderStyle.cs (5)
61SourceGenerated.EnumValidator.Validate(value); 93SourceGenerated.EnumValidator.Validate(value); 138SourceGenerated.EnumValidator.Validate(value); 194SourceGenerated.EnumValidator.Validate(value); 240SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (1)
63SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (1)
350SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
238SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
67SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
236SourceGenerated.EnumValidator.Validate(value); 349SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
102SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (1)
120SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (2)
482EnumValidator.Validate(value); 519EnumValidator.Validate(value);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
88SourceGenerated.EnumValidator.Validate(value); 183SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
84SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\Labels\Label.cs (5)
213SourceGenerated.EnumValidator.Validate(value); 327SourceGenerated.EnumValidator.Validate(value); 553SourceGenerated.EnumValidator.Validate(value); 578SourceGenerated.EnumValidator.Validate(value); 697SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (2)
220SourceGenerated.EnumValidator.Validate(value); 741SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (2)
194SourceGenerated.EnumValidator.Validate(value); 863SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.ObjectCollection.cs (1)
35SourceGenerated.EnumValidator.Validate(check, nameof(check));
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (3)
210SourceGenerated.EnumValidator.Validate(value); 401SourceGenerated.EnumValidator.Validate(value); 997SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
344SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\ListView\ListView.cs (9)
254SourceGenerated.EnumValidator.Validate(value); 286SourceGenerated.EnumValidator.Validate(value); 423SourceGenerated.EnumValidator.Validate(value); 1002SourceGenerated.EnumValidator.Validate(value); 1507SourceGenerated.EnumValidator.Validate(value); 1819SourceGenerated.EnumValidator.Validate(value); 3585SourceGenerated.EnumValidator.Validate(portion, nameof(portion)); 3661SourceGenerated.EnumValidator.Validate(portion, nameof(portion)); 5306SourceGenerated.EnumValidator.Validate(headerAutoResize, nameof(headerAutoResize));
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (4)
129SourceGenerated.EnumValidator.Validate(value); 179SourceGenerated.EnumValidator.Validate(value); 210SourceGenerated.EnumValidator.Validate(value); 450SourceGenerated.EnumValidator.Validate(state);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
137SourceGenerated.EnumValidator.Validate(value); 826SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
120SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
835SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (5)
641SourceGenerated.EnumValidator.Validate(value); 700SourceGenerated.EnumValidator.Validate(value); 2294SourceGenerated.EnumValidator.Validate(fileType, nameof(fileType)); 2314SourceGenerated.EnumValidator.Validate(fileType, nameof(fileType)); 2620SourceGenerated.EnumValidator.Validate(fileType, nameof(fileType));
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
183SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\TabControl\TabControl.cs (4)
113SourceGenerated.EnumValidator.Validate(value); 155SourceGenerated.EnumValidator.Validate(value); 415SourceGenerated.EnumValidator.Validate(value); 767SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (4)
398SourceGenerated.EnumValidator.Validate(value); 514SourceGenerated.EnumValidator.Validate(value); 1248SourceGenerated.EnumValidator.Validate(value); 1308SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\TextBox\TextBox.cs (4)
123SourceGenerated.EnumValidator.Validate(value); 234SourceGenerated.EnumValidator.Validate(value); 391SourceGenerated.EnumValidator.Validate(value); 455SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
356SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (4)
809SourceGenerated.EnumValidator.Validate(value); 1194SourceGenerated.EnumValidator.Validate(value); 1568SourceGenerated.EnumValidator.Validate(value); 1704SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
106SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (13)
267SourceGenerated.EnumValidator.Validate(value); 284SourceGenerated.EnumValidator.Validate(value); 497SourceGenerated.EnumValidator.Validate(value); 637SourceGenerated.EnumValidator.Validate(value); 710SourceGenerated.EnumValidator.Validate(value); 1010SourceGenerated.EnumValidator.Validate(value); 1181SourceGenerated.EnumValidator.Validate(value); 1292SourceGenerated.EnumValidator.Validate(value); 1498SourceGenerated.EnumValidator.Validate(value); 1671SourceGenerated.EnumValidator.Validate(value); 1885SourceGenerated.EnumValidator.Validate(value); 1928SourceGenerated.EnumValidator.Validate(value); 1943SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.cs (1)
150SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
513SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
306SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\ToolStrips\ToolStripRendererSwitcher.cs (1)
105SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (2)
94SourceGenerated.EnumValidator.Validate(value); 163SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
257SourceGenerated.EnumValidator.Validate(value); 907SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (3)
185SourceGenerated.EnumValidator.Validate(value); 407SourceGenerated.EnumValidator.Validate(value); 427SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Dialogs\MessageBox.cs (3)
47SourceGenerated.EnumValidator.Validate(buttons, nameof(buttons)); 48SourceGenerated.EnumValidator.Validate(icon, nameof(icon)); 49SourceGenerated.EnumValidator.Validate(defaultButton, nameof(defaultButton));
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogExpander.cs (1)
188SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogProgressBar.cs (1)
73SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.cs (1)
156SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (1)
119SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Form.cs (7)
537SourceGenerated.EnumValidator.Validate(value); 660SourceGenerated.EnumValidator.Validate(value); 947SourceGenerated.EnumValidator.Validate(value); 1771SourceGenerated.EnumValidator.Validate(value); 1930SourceGenerated.EnumValidator.Validate(value); 1955SourceGenerated.EnumValidator.Validate(value); 2543SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Help\HelpProvider.cs (1)
208SourceGenerated.EnumValidator.Validate(navigator, nameof(navigator));
System\Windows\Forms\Layout\CommonProperties.cs (2)
576SourceGenerated.EnumValidator.Validate(value); 609SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
172SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (3)
242SourceGenerated.EnumValidator.Validate(value); 349SourceGenerated.EnumValidator.Validate(value); 424SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Layout\DefaultLayout.cs (1)
938SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Layout\FlowLayout.cs (1)
297SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\NotifyIcon.cs (2)
114SourceGenerated.EnumValidator.Validate(value); 555SourceGenerated.EnumValidator.Validate(tipIcon, nameof(tipIcon));
System\Windows\Forms\OLE\Clipboard.cs (3)
120SourceGenerated.EnumValidator.Validate(format, nameof(format)); 393SourceGenerated.EnumValidator.Validate(format, nameof(format)); 477SourceGenerated.EnumValidator.Validate(format, nameof(format));
System\Windows\Forms\OLE\DataObject.cs (3)
206SourceGenerated.EnumValidator.Validate(format, nameof(format)); 229SourceGenerated.EnumValidator.Validate(format, nameof(format)); 257SourceGenerated.EnumValidator.Validate(format, nameof(format));
System\Windows\Forms\Panels\Panel.cs (2)
70SourceGenerated.EnumValidator.Validate(value); 105SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (2)
72SourceGenerated.EnumValidator.Validate(value); 190SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\ToolTip\ToolTip.cs (1)
430SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\UserControl.cs (2)
76SourceGenerated.EnumValidator.Validate(value); 139SourceGenerated.EnumValidator.Validate(value);
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (14)
277SourceGenerated.EnumValidator.Validate(edges, nameof(edges)); 278SourceGenerated.EnumValidator.Validate(style, nameof(style)); 279SourceGenerated.EnumValidator.Validate(effects, nameof(effects)); 479SourceGenerated.EnumValidator.Validate(prop, nameof(prop)); 491SourceGenerated.EnumValidator.Validate(prop, nameof(prop)); 503SourceGenerated.EnumValidator.Validate(prop, nameof(prop)); 515SourceGenerated.EnumValidator.Validate(prop, nameof(prop)); 534SourceGenerated.EnumValidator.Validate(prop, nameof(prop)); 562SourceGenerated.EnumValidator.Validate(prop, nameof(prop)); 582SourceGenerated.EnumValidator.Validate(type, nameof(type)); 603SourceGenerated.EnumValidator.Validate(type, nameof(type)); 616SourceGenerated.EnumValidator.Validate(prop, nameof(prop)); 630SourceGenerated.EnumValidator.Validate(prop, nameof(prop)); 644SourceGenerated.EnumValidator.Validate(prop, nameof(prop));