270 implementations of Clear
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImportCollection.cs (1)
204void IList.Clear()
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (1)
102public void Clear()
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
230void IList.Clear()
Shared\Options\ListValue.cs (1)
131void IList.Clear()
GenerateDocumentationAndConfigFiles (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Metrics (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Metrics.Legacy (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Microsoft.Build.Framework (5)
ImmutableSegmentedList`1.cs (1)
661void IList.Clear()
ImmutableSegmentedList`1+Builder.cs (1)
71public void Clear()
ImmutableSegmentedList`1+ValueBuilder.cs (1)
104public void Clear()
SegmentedArray`1.cs (1)
202void IList.Clear()
SegmentedList`1.cs (1)
313public void Clear()
Microsoft.CodeAnalysis (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Microsoft.CodeAnalysis.Analyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Microsoft.CodeAnalysis.BannedApiAnalyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Microsoft.CodeAnalysis.CodeStyle (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Microsoft.CodeAnalysis.Collections.Package (5)
Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
Segmented\SegmentedList`1.cs (1)
386public void Clear()
Microsoft.CodeAnalysis.Extensions.Package (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Microsoft.CodeAnalysis.InteractiveHost (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Microsoft.CodeAnalysis.PublicApiAnalyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Microsoft.CodeAnalysis.Threading.Package (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Microsoft.CodeAnalysis.Workspaces (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Microsoft.Maui.Controls (4)
ListProxy.cs (1)
463 void IList.Clear()
ObservableWrapper.cs (1)
38 public void Clear()
ReadOnlyListAdapter.cs (1)
56 public void Clear()
TemplatedItemsList.cs (1)
277 void IList.Clear()
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Collection.vb (1)
701Private Sub IListClear() Implements IList.Clear
PresentationCore (49)
System\Windows\FreezableCollection.cs (1)
145public void Clear()
System\Windows\Generated\TextDecorationCollection.cs (1)
75public void Clear()
System\Windows\Input\Command\CommandBindingCollection.cs (1)
285public void Clear()
System\Windows\Input\Command\InputBindingCollection.cs (1)
355public void Clear()
System\Windows\Input\Command\InputGestureCollection.cs (1)
353public void Clear()
System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
74public void Clear()
System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
77public void Clear()
System\Windows\Media\FamilyMapCollection.cs (1)
56public void Clear()
System\Windows\Media\FamilyTypefaceCollection.cs (1)
68public void Clear()
System\Windows\Media\Generated\DoubleCollection.cs (1)
85public void Clear()
System\Windows\Media\Generated\DrawingCollection.cs (1)
84public void Clear()
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
84public void Clear()
System\Windows\Media\Generated\GeometryCollection.cs (1)
84public void Clear()
System\Windows\Media\Generated\GradientStopCollection.cs (1)
84public void Clear()
System\Windows\Media\Generated\Int32Collection.cs (1)
85public void Clear()
System\Windows\Media\Generated\PathFigureCollection.cs (1)
85public void Clear()
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
84public void Clear()
System\Windows\Media\Generated\PointCollection.cs (1)
85public void Clear()
System\Windows\Media\Generated\TextEffectCollection.cs (1)
84public void Clear()
System\Windows\Media\Generated\TransformCollection.cs (1)
84public void Clear()
System\Windows\Media\Generated\VectorCollection.cs (1)
85public void Clear()
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
82public void Clear()
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
82public void Clear()
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
82public void Clear()
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
83public void Clear()
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
82public void Clear()
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
83public void Clear()
System\Windows\Media3D\Visual3DCollection.cs (1)
105public void Clear()
PresentationFramework (17)
MS\Internal\Controls\InnerItemCollectionView.cs (1)
227public void Clear()
MS\Internal\Data\LiveShapingList.cs (1)
507public void Clear()
MS\Internal\Documents\ContentElementCollection.cs (1)
418void IList.Clear()
System\Windows\Controls\ColumnDefinition.cs (1)
146public void Clear() // void ICollection<T>.Clear();
System\Windows\Controls\CustomDictionarySources.cs (1)
209void IList.Clear()
System\Windows\Controls\ItemCollection.cs (1)
238public void Clear()
System\Windows\Controls\MultipleCopiesCollection.cs (1)
233public void Clear()
System\Windows\Controls\RowDefinition.cs (1)
141public void Clear() // void ICollection<T>.Clear();
System\Windows\Controls\UIElementCollection.cs (1)
232public virtual void Clear()
System\Windows\Data\CompositeCollection.cs (1)
124public void Clear()
System\Windows\Documents\TableCellCollection.cs (1)
277void IList.Clear()
System\Windows\Documents\TableColumnCollection.cs (1)
284void IList.Clear()
System\Windows\Documents\TableRowCollection.cs (1)
277void IList.Clear()
System\Windows\Documents\TableRowGroupCollection.cs (1)
277void IList.Clear()
System\Windows\Documents\TextElementCollection.cs (1)
423void IList.Clear()
System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (1)
297public void Clear()
System\Windows\TriggerActionCollection.cs (1)
70public void Clear()
Roslyn.Diagnostics.Analyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
System.CodeDom (1)
System\CodeDom\CodeNamespaceImportCollection.cs (1)
88void IList.Clear() => Clear();
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (3)
533public void Clear() 1624void IList.Clear() => throw new NotSupportedException(); 1785void IList.Clear() => throw new NotSupportedException();
System.Collections.Immutable (4)
System\Collections\Immutable\ImmutableArray_1.cs (1)
1205void IList.Clear()
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
1039void IList.Clear()
System\Collections\Immutable\ImmutableList_1.cs (1)
1012void IList.Clear() => throw new NotSupportedException();
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
844void IList.Clear()
System.Collections.NonGeneric (3)
System\Collections\CollectionBase.cs (1)
64public void Clear()
System\Collections\SortedList.cs (2)
928public void Clear() 1031public void Clear()
System.Collections.Specialized (2)
System\Collections\Specialized\OrderedDictionary.cs (1)
661void IList.Clear()
System\Collections\Specialized\StringCollection.cs (1)
83public void Clear()
System.ComponentModel.TypeConverter (4)
System\ComponentModel\Design\DesignerOptionService.cs (1)
361void IList.Clear() => throw new NotSupportedException();
System\ComponentModel\EventDescriptorCollection.cs (1)
399void IList.Clear() => Clear();
System\ComponentModel\ListSortDescriptionCollection.cs (1)
48void IList.Clear() => throw new InvalidOperationException(SR.CantModifyListSortDescriptionCollection);
System\ComponentModel\PropertyDescriptorCollection.cs (1)
408void IList.Clear() => Clear();
System.Data.Common (5)
System\Data\Common\DataColumnMappingCollection.cs (1)
198public void Clear()
System\Data\Common\DataTableMappingCollection.cs (1)
150public void Clear()
System\Data\Common\DbParameterCollection.cs (1)
96public abstract void Clear();
System\Data\DataView.cs (1)
849void IList.Clear()
System\Data\DataViewManager.cs (1)
174void IList.Clear()
System.Diagnostics.TraceSource (1)
System\Diagnostics\TraceListeners.cs (1)
116public void Clear()
System.DirectoryServices (1)
artifacts\obj\System.DirectoryServices\Debug\net10.0\System.DirectoryServices.notsupported.cs (1)
450public void Clear() { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); }
System.DirectoryServices.AccountManagement (1)
artifacts\obj\System.DirectoryServices.AccountManagement\Debug\net10.0\System.DirectoryServices.AccountManagement.notsupported.cs (1)
380void System.Collections.IList.Clear() { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
System.Linq.Expressions (1)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
203public void Clear()
System.ObjectModel (2)
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (2)
304public void Clear() => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 363public void Clear() => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection);
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Array.cs (1)
1045void IList.Clear()
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (4)
212public virtual void Clear() 1523public void Clear() 1618public void Clear() 1877public void Clear()
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
320public void Clear()
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
66public void Clear()
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
188void IList.Clear()
System.Private.Xml (2)
System\Xml\Xsl\ListBase.cs (1)
152void System.Collections.IList.Clear()
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (1)
266void System.Collections.IList.Clear()
System.Security.Cryptography.Xml (3)
System\Security\Cryptography\Xml\CanonicalXmlNodeList.cs (1)
41public void Clear()
System\Security\Cryptography\Xml\EncryptionPropertyCollection.cs (1)
41public void Clear()
System\Security\Cryptography\Xml\ReferenceList.cs (1)
39public void Clear()
System.ServiceModel.Primitives (1)
netstandard.cs (1)
25public void Clear() { }
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\CaptureCollection.cs (1)
154void IList.Clear() =>
System\Text\RegularExpressions\GroupCollection.cs (1)
168void IList.Clear() =>
System\Text\RegularExpressions\MatchCollection.cs (1)
167void IList.Clear() =>
System.Windows.Forms (39)
System\Windows\Forms\AutoCompleteStringCollection.cs (1)
105public void Clear()
System\Windows\Forms\Control.ControlCollection.cs (1)
380public virtual void Clear()
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (1)
233public void Clear()
System\Windows\Forms\Controls\DataGridView\DataGridViewCellCollection.cs (1)
22void IList.Clear() => Clear();
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (1)
39void IList.Clear() => Clear();
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.ObjectCollection.cs (1)
174public void Clear()
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (1)
41void IList.Clear() => Clear();
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedCellCollection.cs (1)
23void IList.Clear()
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedColumnCollection.cs (1)
19void IList.Clear()
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedRowCollection.cs (1)
20void IList.Clear() => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection);
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (1)
414public void Clear()
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (1)
300public virtual void Clear()
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedIndexCollection.cs (1)
94void IList.Clear()
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedItemCollection.cs (1)
116void IList.Clear()
System\Windows\Forms\Controls\ListBoxes\ListBox.IntegerCollection.cs (1)
221void IList.Clear()
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (1)
231public virtual void Clear()
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.cs (1)
114void IList.Clear()
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedObjectCollection.cs (1)
157void IList.Clear()
System\Windows\Forms\Controls\ListView\ListView.CheckedIndexCollection.cs (1)
198void IList.Clear()
System\Windows\Forms\Controls\ListView\ListView.CheckedListViewItemCollection.cs (1)
295void IList.Clear()
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (1)
306public virtual void Clear()
System\Windows\Forms\Controls\ListView\ListView.ListViewItemCollection.cs (1)
235public virtual void Clear()
System\Windows\Forms\Controls\ListView\ListView.SelectedIndexCollection.cs (1)
228void IList.Clear()
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (1)
264public void Clear()
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (1)
185public void Clear()
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItemCollection.cs (1)
194public void Clear()
System\Windows\Forms\Controls\TabControl\TabControl.TabPageCollection.cs (1)
295public virtual void Clear() => _owner.RemoveAll();
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (1)
297void IList.Clear() { Clear(); }
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelRowCollection.cs (1)
111void IList.Clear() { Clear(); }
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (1)
172void IList.Clear() { Clear(); }
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
577public virtual void Clear()
System\Windows\Forms\Controls\Unsupported\ContextMenu\Menu.MenuItemCollection.cs (1)
68public virtual void Clear() { }
System\Windows\Forms\Controls\Unsupported\DataGrid\GridColumnStylesCollection.cs (1)
30void IList.Clear() { }
System\Windows\Forms\Controls\Unsupported\DataGrid\GridTableStylesCollection.cs (1)
28void IList.Clear() { }
System\Windows\Forms\Controls\Unsupported\StatusBar\StatusBar.StatusBarPanelCollection.cs (1)
78public virtual void Clear() { }
System\Windows\Forms\Controls\Unsupported\ToolBar\ToolBar.ToolBarButtonCollection.cs (1)
60public void Clear() { }
System\Windows\Forms\DataBinding\BindingSource.cs (1)
1487public virtual void Clear()
System\Windows\Forms\Layout\ArrangedElementCollection.cs (1)
120void IList.Clear() => ((IList)InnerList).Clear();
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyleCollection.cs (1)
102public void Clear()
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
68public override void Clear()
System\Windows\Forms\Design\ImageListDesigner.OriginalImageCollection.cs (1)
128public void Clear()
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2205public override void Clear()
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
42public void Clear() => _list.Clear();
System.Windows.Forms.Tests (1)
System\Windows\Forms\BindingSourceTests.cs (1)
786public void Clear() => _innerList.Clear();
System.Xaml.Tests (1)
System\Xaml\XamlTypeTests.cs (1)
3232public void Clear() => throw new NotImplementedException();
Test.Utilities (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
Text.Analyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
663void IList.Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
73public void Clear()
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
106public void Clear()
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
201void IList.Clear()
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
386public void Clear()
93 references to Clear
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Advanced\SchemaImporterExtension.cs (1)
95List.Clear();
GenerateDocumentationAndConfigFiles (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Metrics (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Metrics.Legacy (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Microsoft.Build.Framework (1)
SegmentedArray`1.cs (1)
208list.Clear();
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Microsoft.CodeAnalysis.Analyzers (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Microsoft.CodeAnalysis.Collections.Package (1)
Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Microsoft.CodeAnalysis.Extensions.Package (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Microsoft.CodeAnalysis.Threading.Package (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Microsoft.CodeAnalysis.UnitTests (11)
Collections\ImmutableSegmentedListBuilderTest.cs (1)
324list.Clear();
Collections\ImmutableSegmentedListTest.cs (1)
749Assert.Throws<NotSupportedException>(() => list.Clear());
Collections\List\IList.NonGeneric.Tests.cs (4)
177casted.Clear(); 458collection.Clear(); 544Assert.Throws<NotSupportedException>(() => collection.Clear()); 549collection.Clear();
Collections\List\SegmentedList.Generic.Tests.Misc.cs (4)
633_ilist.Clear(); 643_ilist.Clear(); 651_ilist.Clear(); 661_ilist.Clear();
Collections\SegmentedArrayTests.cs (1)
86Assert.Throws<NullReferenceException>(() => ((IList)data).Clear());
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Microsoft.Maui.Controls (3)
BindableLayout\BindableLayout.cs (1)
208 layout.Children.Clear();
Shell\ShellElementCollection.cs (1)
121 Inner.Clear();
TemplatedItemsList.cs (1)
571 ListProxy.Clear();
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Collection.vb (1)
701Private Sub IListClear() Implements IList.Clear
PresentationFramework (3)
System\Windows\Controls\DataGrid.cs (2)
2646SelectedItems.Clear(); 4948SelectedItems.Clear();
System\Windows\Controls\ItemCollection.cs (1)
2242clone.Clear();
Roslyn.Diagnostics.Analyzers (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
System.ComponentModel.Composition (1)
Microsoft\Internal\Collections\CollectionServices.CollectionOfObject.cs (1)
53_list.Clear();
System.ComponentModel.TypeConverter (1)
System\ComponentModel\TypeDescriptor.cs (1)
2079list.Clear();
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (2)
797_list.Clear(); 1527_list.Clear();
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\Signature.cs (1)
193_embeddedObjects.Clear();
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (1)
796list.Clear();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (1)
292properties.Clear();
System\Windows\Forms\DataBinding\BindingSource.cs (1)
1490List.Clear();
System\Windows\Forms\Layout\ArrangedElementCollection.cs (1)
120void IList.Clear() => ((IList)InnerList).Clear();
System.Windows.Forms.Design (4)
System\ComponentModel\Design\CollectionEditor.cs (1)
389list.Clear();
System\Windows\Forms\Design\ListAdapter.cs (1)
31void ICollection<T>.Clear() => _list.Clear();
System\Windows\Forms\Design\ListViewSubItemCollectionEditor.cs (1)
105list.Clear();
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
1129_listBoxList.Clear();
System.Windows.Forms.Tests (40)
System\Windows\Forms\CheckedListBox.CheckedIndexCollectionTests.cs (1)
50((IList)_collection).Invoking(c => c.Clear()).Should().Throw<NotSupportedException>();
System\Windows\Forms\CheckedListBox.CheckedItemCollectionTests.cs (1)
44((IList)_collection).Invoking(c => c.Clear()).Should().Throw<NotSupportedException>();
System\Windows\Forms\DataGridViewSelectedCellCollectionTests.cs (1)
308Assert.Throws<NotSupportedException>(iList.Clear);
System\Windows\Forms\DataGridViewSelectedColumnCollectionTests.cs (1)
340Assert.Throws<NotSupportedException>(iList.Clear);
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (1)
300Assert.Throws<NotSupportedException>(iList.Clear);
System\Windows\Forms\ListBox.IntegerCollectionTests.cs (16)
2008collection.Clear(); 2016collection.Clear(); 2029collection.Clear(); 2037collection.Clear(); 2054collection.Clear(); 2062collection.Clear(); 2077collection.Clear(); 2085collection.Clear(); 2106collection.Clear(); 2117collection.Clear(); 2141collection.Clear(); 2152collection.Clear(); 2177collection.Clear(); 2188collection.Clear(); 2213collection.Clear(); 2224collection.Clear();
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (16)
9027collection.Clear(); 9035collection.Clear(); 9048collection.Clear(); 9056collection.Clear(); 9073collection.Clear(); 9081collection.Clear(); 9096collection.Clear(); 9104collection.Clear(); 9125collection.Clear(); 9137collection.Clear(); 9162collection.Clear(); 9174collection.Clear(); 9200collection.Clear(); 9212collection.Clear(); 9238collection.Clear(); 9250collection.Clear();
System\Windows\Forms\ListBox.SelectedIndexCollectionTests.cs (1)
81Assert.Throws<NotSupportedException>(collection.Clear);
System\Windows\Forms\ListBox.SelectedObjectCollectionTests.cs (1)
68=> Assert.Throws<NotSupportedException>(() => ((IList)_collection).Clear());
System\Windows\Forms\ListView.CheckedIndexCollectionTests.cs (1)
164"Clear" => ilist.Clear,
Test.Utilities (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();
Text.Analyzers (1)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
207list.Clear();