269 implementations of Insert
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImportCollection.cs (1)
222void IList.Insert(int index, object value)
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (1)
288void IList.Insert(int index, object value)
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
247void IList.Insert(int index, object value)
Shared\Options\ListValue.cs (1)
118void IList.Insert(int index, object value)
GenerateDocumentationAndConfigFiles (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Metrics (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Metrics.Legacy (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Microsoft.Build.Framework (5)
ImmutableSegmentedList`1.cs (1)
676void IList.Insert(int index, object? value)
ImmutableSegmentedList`1+Builder.cs (1)
239void IList.Insert(int index, object? value)
ImmutableSegmentedList`1+ValueBuilder.cs (1)
348void IList.Insert(int index, object? value)
SegmentedArray`1.cs (1)
270void IList.Insert(int index, object? value)
SegmentedList`1.cs (1)
722void IList.Insert(int index, object? item)
Microsoft.CodeAnalysis (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Microsoft.CodeAnalysis.Analyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Microsoft.CodeAnalysis.BannedApiAnalyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Microsoft.CodeAnalysis.CodeStyle (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Microsoft.CodeAnalysis.Collections.Package (5)
Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Microsoft.CodeAnalysis.Extensions.Package (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Microsoft.CodeAnalysis.InteractiveHost (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Microsoft.CodeAnalysis.PublicApiAnalyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Microsoft.CodeAnalysis.Threading.Package (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Microsoft.CodeAnalysis.Workspaces (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Microsoft.Maui.Controls (4)
ListProxy.cs (1)
453 void IList.Insert(int index, object item)
ObservableWrapper.cs (1)
294 public void Insert(int index, object value)
ReadOnlyListAdapter.cs (1)
71 public void Insert(int index, object value)
TemplatedItemsList.cs (1)
299 void IList.Insert(int index, object item)
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Collection.vb (1)
671Private Sub IListInsert(ByVal index As Integer, ByVal value As Object) Implements IList.Insert
PresentationCore (49)
System\Windows\FreezableCollection.cs (1)
452void IList.Insert(int index, object value)
System\Windows\Generated\TextDecorationCollection.cs (1)
364void IList.Insert(int index, object value)
System\Windows\Input\Command\CommandBindingCollection.cs (1)
95void IList.Insert(int index, object value)
System\Windows\Input\Command\InputBindingCollection.cs (1)
107void IList.Insert(int index, object value)
System\Windows\Input\Command\InputGestureCollection.cs (1)
96void IList.Insert(int index, object value)
System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
363void IList.Insert(int index, object value)
System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
366void IList.Insert(int index, object value)
System\Windows\Media\FamilyMapCollection.cs (1)
208void SC.IList.Insert(int index, object item)
System\Windows\Media\FamilyTypefaceCollection.cs (1)
194void SC.IList.Insert(int index, object item)
System\Windows\Media\Generated\DoubleCollection.cs (1)
335void IList.Insert(int index, object value)
System\Windows\Media\Generated\DrawingCollection.cs (1)
385void IList.Insert(int index, object value)
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
373void IList.Insert(int index, object value)
System\Windows\Media\Generated\GeometryCollection.cs (1)
385void IList.Insert(int index, object value)
System\Windows\Media\Generated\GradientStopCollection.cs (1)
373void IList.Insert(int index, object value)
System\Windows\Media\Generated\Int32Collection.cs (1)
335void IList.Insert(int index, object value)
System\Windows\Media\Generated\PathFigureCollection.cs (1)
374void IList.Insert(int index, object value)
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
373void IList.Insert(int index, object value)
System\Windows\Media\Generated\PointCollection.cs (1)
335void IList.Insert(int index, object value)
System\Windows\Media\Generated\TextEffectCollection.cs (1)
373void IList.Insert(int index, object value)
System\Windows\Media\Generated\TransformCollection.cs (1)
385void IList.Insert(int index, object value)
System\Windows\Media\Generated\VectorCollection.cs (1)
335void IList.Insert(int index, object value)
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
371void IList.Insert(int index, object value)
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
383void IList.Insert(int index, object value)
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
383void IList.Insert(int index, object value)
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
333void IList.Insert(int index, object value)
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
383void IList.Insert(int index, object value)
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
333void IList.Insert(int index, object value)
System\Windows\Media3D\Visual3DCollection.cs (1)
330void IList.Insert(int index, object value)
PresentationFramework (17)
MS\Internal\Controls\InnerItemCollectionView.cs (1)
245public void Insert(int index, object item)
MS\Internal\Data\LiveShapingList.cs (1)
531public void Insert(int index, object value)
MS\Internal\Documents\ContentElementCollection.cs (1)
447void IList.Insert(int index, object value)
System\Windows\Controls\ColumnDefinition.cs (1)
223void IList.Insert(int index, object value)
System\Windows\Controls\CustomDictionarySources.cs (1)
224void IList.Insert(int index, object value)
System\Windows\Controls\ItemCollection.cs (1)
365public void Insert(int insertIndex, object insertItem)
System\Windows\Controls\MultipleCopiesCollection.cs (1)
252public void Insert(int index, object value)
System\Windows\Controls\RowDefinition.cs (1)
218void IList.Insert(int index, object value)
System\Windows\Controls\UIElementCollection.cs (1)
425void IList.Insert(int index, object value)
System\Windows\Data\CompositeCollection.cs (1)
182public void Insert(int insertIndex, object insertItem)
System\Windows\Documents\TableCellCollection.cs (1)
292void IList.Insert(int index, object value)
System\Windows\Documents\TableColumnCollection.cs (1)
299void IList.Insert(int index, object value)
System\Windows\Documents\TableRowCollection.cs (1)
292void IList.Insert(int index, object value)
System\Windows\Documents\TableRowGroupCollection.cs (1)
292void IList.Insert(int index, object value)
System\Windows\Documents\TextElementCollection.cs (1)
445void IList.Insert(int index, object value)
System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (1)
353void IList.Insert(int index, object keyFrame)
System\Windows\TriggerActionCollection.cs (1)
205void IList.Insert(int index, object value)
Roslyn.Diagnostics.Analyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
System.CodeDom (1)
System\CodeDom\CodeNamespaceImportCollection.cs (1)
94void IList.Insert(int index, object value)
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (3)
1360void IList.Insert(int index, object? value) 1630void IList.Insert(int index, object? value) => throw new NotSupportedException(); 1827void IList.Insert(int index, object? value) => throw new NotSupportedException();
System.Collections.Immutable (4)
System\Collections\Immutable\ImmutableArray_1.cs (1)
1259void IList.Insert(int index, object? value)
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
1083void IList.Insert(int index, object? value)
System\Collections\Immutable\ImmutableList_1.cs (1)
1038void IList.Insert(int index, object? value) => throw new NotSupportedException();
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
894void IList.Insert(int index, object? value)
System.Collections.NonGeneric (3)
System\Collections\CollectionBase.cs (1)
189void IList.Insert(int index, object? value)
System\Collections\SortedList.cs (2)
947public void Insert(int index, object? value) 1050public void Insert(int index, object? value)
System.Collections.Specialized (2)
System\Collections\Specialized\OrderedDictionary.cs (1)
641void IList.Insert(int index, object? value)
System\Collections\Specialized\StringCollection.cs (1)
214void IList.Insert(int index, object? value)
System.ComponentModel.TypeConverter (4)
System\ComponentModel\Design\DesignerOptionService.cs (1)
384void IList.Insert(int index, object? value) => throw new NotSupportedException();
System\ComponentModel\EventDescriptorCollection.cs (1)
403void IList.Insert(int index, object? value) => Insert(index, (EventDescriptor?)value);
System\ComponentModel\ListSortDescriptionCollection.cs (1)
54void IList.Insert(int index, object? value) => throw new InvalidOperationException(SR.CantModifyListSortDescriptionCollection);
System\ComponentModel\PropertyDescriptorCollection.cs (1)
555void IList.Insert(int index, object? value) => Insert(index, (PropertyDescriptor)value!);
System.Data.Common (5)
System\Data\Common\DataColumnMappingCollection.cs (1)
301public void Insert(int index, object? value)
System\Data\Common\DataTableMappingCollection.cs (1)
238public void Insert(int index, object? value)
System\Data\Common\DbParameterCollection.cs (1)
131void IList.Insert(int index, object? value) => Insert(index, value!);
System\Data\DataView.cs (1)
888void IList.Insert(int index, object? value)
System\Data\DataViewManager.cs (1)
183void IList.Insert(int index, object? value)
System.Diagnostics.TraceSource (1)
System\Diagnostics\TraceListeners.cs (1)
273void IList.Insert(int index, object? value)
System.DirectoryServices (1)
artifacts\obj\System.DirectoryServices\Debug\net10.0\System.DirectoryServices.notsupported.cs (1)
462void System.Collections.IList.Insert(int index, object? value) { 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)
383void System.Collections.IList.Insert(int index, object value) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
System.Linq.Expressions (1)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
303void IList.Insert(int index, object? value)
System.ObjectModel (2)
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (2)
314public void Insert(int index, object? value) => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 364public void Insert(int index, object? value) => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection);
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Array.cs (1)
1055void IList.Insert(int index, object? value)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (4)
384public virtual void Insert(int index, object? value) 1563public void Insert(int index, object? value) 1643public void Insert(int index, object? obj) 1902public void Insert(int index, object? obj)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
790void IList.Insert(int index, object? item)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
323void IList.Insert(int index, object? value)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
218void IList.Insert(int index, object? value)
System.Private.Xml (2)
System\Xml\Xsl\ListBase.cs (1)
173void System.Collections.IList.Insert(int index, object? value)
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (1)
290void System.Collections.IList.Insert(int index, object? value)
System.Security.Cryptography.Xml (3)
System\Security\Cryptography\Xml\CanonicalXmlNodeList.cs (1)
56public void Insert(int index, object? value)
System\Security\Cryptography\Xml\EncryptionPropertyCollection.cs (1)
75void IList.Insert(int index, object? value)
System\Security\Cryptography\Xml\ReferenceList.cs (1)
54public void Insert(int index, object? value)
System.ServiceModel.Primitives (1)
netstandard.cs (1)
48void IList.Insert(int index, object value) { }
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\CaptureCollection.cs (1)
163void IList.Insert(int index, object? value) =>
System\Text\RegularExpressions\GroupCollection.cs (1)
177void IList.Insert(int index, object? value) =>
System\Text\RegularExpressions\MatchCollection.cs (1)
176void IList.Insert(int index, object? value) =>
System.Windows.Forms (38)
System\Windows\Forms\AutoCompleteStringCollection.cs (1)
193void IList.Insert(int index, object? value) => Insert(index, (string)value!);
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (1)
308public void Insert(int index, object? item)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellCollection.cs (1)
28void IList.Insert(int index, object? value) => Insert(index, (DataGridViewCell)value!);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (1)
45void IList.Insert(int index, object? value) => Insert(index, (DataGridViewColumn)value!);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.ObjectCollection.cs (1)
216public void Insert(int index, object? item)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (1)
47void IList.Insert(int index, object? value) => Insert(index, (DataGridViewRow)value!);
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedCellCollection.cs (1)
32void IList.Insert(int index, object? value)
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedColumnCollection.cs (1)
28void IList.Insert(int index, object? value)
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedRowCollection.cs (1)
26void IList.Insert(int index, object? value) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection);
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (1)
499void IList.Insert(int index, object? value) => throw new NotSupportedException();
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (1)
200void IList.Insert(int index, object? value)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedIndexCollection.cs (1)
99void IList.Insert(int index, object? value)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedItemCollection.cs (1)
121void IList.Insert(int index, object? value)
System\Windows\Forms\Controls\ListBoxes\ListBox.IntegerCollection.cs (1)
226void IList.Insert(int index, object? value)
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (1)
363void IList.Insert(int index, object? item) => Insert(index, item!);
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.cs (1)
119void IList.Insert(int index, object? value)
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedObjectCollection.cs (1)
162void IList.Insert(int index, object? value)
System\Windows\Forms\Controls\ListView\ListView.CheckedIndexCollection.cs (1)
203void IList.Insert(int index, object? value)
System\Windows\Forms\Controls\ListView\ListView.CheckedListViewItemCollection.cs (1)
300void IList.Insert(int index, object? value)
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (1)
408void IList.Insert(int index, object? value)
System\Windows\Forms\Controls\ListView\ListView.ListViewItemCollection.cs (1)
394void IList.Insert(int index, object? item)
System\Windows\Forms\Controls\ListView\ListView.SelectedIndexCollection.cs (1)
233void IList.Insert(int index, object? value)
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (1)
235void IList.Insert(int index, object? value)
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (1)
257void IList.Insert(int index, object? value)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItemCollection.cs (1)
317void IList.Insert(int index, object? item)
System\Windows\Forms\Controls\TabControl\TabControl.TabPageCollection.cs (1)
238void IList.Insert(int index, object? tabPage)
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (1)
304void IList.Insert(int index, object? value) { Insert(index, (ToolStripItem)value!); }
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelRowCollection.cs (1)
119void IList.Insert(int index, object? value) { Insert(index, (ToolStripPanelRow)value!); }
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (1)
188void IList.Insert(int index, object? value) { Insert(index, (Control)value!); }
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
474void IList.Insert(int index, object? node)
System\Windows\Forms\Controls\Unsupported\ContextMenu\Menu.MenuItemCollection.cs (1)
80void IList.Insert(int index, object value) { }
System\Windows\Forms\Controls\Unsupported\DataGrid\GridColumnStylesCollection.cs (1)
36void IList.Insert(int index, object value) { }
System\Windows\Forms\Controls\Unsupported\DataGrid\GridTableStylesCollection.cs (1)
34void IList.Insert(int index, object value) { }
System\Windows\Forms\Controls\Unsupported\StatusBar\StatusBar.StatusBarPanelCollection.cs (1)
76void IList.Insert(int index, object value) { }
System\Windows\Forms\Controls\Unsupported\ToolBar\ToolBar.ToolBarButtonCollection.cs (1)
78void IList.Insert(int index, object button) { }
System\Windows\Forms\DataBinding\BindingSource.cs (1)
1498public virtual void Insert(int index, object? value)
System\Windows\Forms\Layout\ArrangedElementCollection.cs (1)
136void IList.Insert(int index, object? value) => throw new NotSupportedException();
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyleCollection.cs (1)
43void IList.Insert(int index, object? style)
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
50void IList.Insert(int index, object value) => ((IList)_realCollection).Insert(index, value);
System\Windows\Forms\Design\ImageListDesigner.OriginalImageCollection.cs (1)
145void IList.Insert(int index, object? value) => throw new NotSupportedException();
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2181void IList.Insert(int index, object value) => ((IList)_realCollection).Insert(index, value);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
96void IList.Insert(int index, object? value)
System.Windows.Forms.Tests (1)
System\Windows\Forms\BindingSourceTests.cs (1)
818public void Insert(int index, object item) => ((IList)_innerList).Insert(index, item);
System.Xaml.Tests (1)
System\Xaml\XamlTypeTests.cs (1)
3238public void Insert(int index, object? value) => throw new NotImplementedException();
Test.Utilities (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
Text.Analyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
678void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
241void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
350void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
269void IList.Insert(int index, object? value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
873void IList.Insert(int index, object? item)
271 references to Insert
dotnet-svcutil-lib (36)
FrameworkFork\Microsoft.CodeDom\Compiler\CompilerErrorCollection.cs (1)
187List.Insert(index, value);
FrameworkFork\Microsoft.CodeDom\System\CodeAttributeArgumentCollection.cs (1)
142List.Insert(index, value);
FrameworkFork\Microsoft.CodeDom\System\CodeAttributeDeclarationCollection.cs (1)
142List.Insert(index, value);
FrameworkFork\Microsoft.CodeDom\System\CodeCatchClauseCollection.cs (1)
142List.Insert(index, value);
FrameworkFork\Microsoft.CodeDom\System\CodeCommentStatementCollection.cs (1)
142List.Insert(index, value);
FrameworkFork\Microsoft.CodeDom\System\CodeDirectiveCollection.cs (1)
92List.Insert(index, value);
FrameworkFork\Microsoft.CodeDom\System\CodeExpressionCollection.cs (1)
142List.Insert(index, value);
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceCollection.cs (1)
142List.Insert(index, value);
FrameworkFork\Microsoft.CodeDom\System\CodeParameterDeclarationExpressionCollection.cs (1)
142List.Insert(index, value);
FrameworkFork\Microsoft.CodeDom\System\CodeStatementCollection.cs (1)
151List.Insert(index, value);
FrameworkFork\Microsoft.CodeDom\System\CodeTypeDeclarationCollection.cs (1)
142List.Insert(index, value);
FrameworkFork\Microsoft.CodeDom\System\CodeTypeMemberCollection.cs (1)
142List.Insert(index, value);
FrameworkFork\Microsoft.CodeDom\System\CodeTypeParameterCollection.cs (1)
96List.Insert(index, value);
FrameworkFork\Microsoft.CodeDom\System\CodeTypeReferenceCollection.cs (1)
158List.Insert(index, value);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectCollection.cs (1)
74List.Insert(index, item);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Advanced\SchemaImporterExtension.cs (1)
131List.Insert(index, extension);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAnyElementAttributes.cs (1)
43List.Insert(index, attribute);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlArrayItemAttributes.cs (1)
43List.Insert(index, attribute);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlElementAttributes.cs (1)
43List.Insert(index, attribute);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (1)
186List.Insert(index, schema);
FrameworkFork\System.Web.Services\Services\Description\MimeFormatExtensions.cs (2)
103List.Insert(index, mimePart); 270List.Insert(index, match);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (13)
1594List.Insert(index, extension); 1890List.Insert(index, operationMessage); 2082List.Insert(index, import); 2164List.Insert(index, message); 2264List.Insert(index, port); 2364List.Insert(index, portType); 2464List.Insert(index, binding); 2564List.Insert(index, service); 2664List.Insert(index, messagePart); 2764List.Insert(index, bindingOperation); 2846List.Insert(index, bindingOperationFault); 2946List.Insert(index, operation); 3028List.Insert(index, operationFaultMessage);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptions.cs (1)
56List.Insert(index, serviceDescription);
GenerateDocumentationAndConfigFiles (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Metrics (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Metrics.Legacy (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Microsoft.AspNetCore.JsonPatch (1)
Internal\ListAdapter.cs (1)
50list.Insert(positionInfo.Index, convertedValue);
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Helpers\GenericListOrJsonArrayUtilities.cs (1)
78nonGenericList.Insert(index, value);
Microsoft.Build.Framework (2)
IListCalls.cs (1)
57list.Insert(index, value);
ImmutableSegmentedList`1+ValueBuilder.cs (1)
349=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Microsoft.CodeAnalysis (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Microsoft.CodeAnalysis.Analyzers (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Microsoft.CodeAnalysis.CodeStyle (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Microsoft.CodeAnalysis.Collections.Package (2)
Internal\IListCalls.cs (1)
59list.Insert(index, value);
Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Microsoft.CodeAnalysis.Extensions.Package (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Microsoft.CodeAnalysis.InteractiveHost (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Microsoft.CodeAnalysis.Threading.Package (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Microsoft.CodeAnalysis.UnitTests (18)
Collections\ImmutableSegmentedListBuilderTest.cs (1)
319list.Insert(1, 6);
Collections\ImmutableSegmentedListTest.cs (1)
750Assert.Throws<NotSupportedException>(() => list.Insert(0, 1));
Collections\List\IList.NonGeneric.Tests.cs (12)
128casted.Insert(0, CreateT(12)); 739Assert.Throws(IList_NonGeneric_Item_InvalidIndex_ThrowType, () => list.Insert(-1, validAdd)); 740Assert.Throws(IList_NonGeneric_Item_InvalidIndex_ThrowType, () => list.Insert(int.MinValue, validAdd)); 753list.Insert(count, validAdd); 766Assert.Throws<NotSupportedException>(() => list.Insert(count / 2, CreateT(321432))); 779list.Insert(0, value); 793list.Insert(0, value); 808list.Insert(lastIndex, value); 823list.Insert(lastIndex, value); 837list.Insert(0, value); 838list.Insert(1, value); 854Assert.Throws<ArgumentException>(() => list.Insert(count / 2, value));
Collections\List\SegmentedList.Generic.Tests.Misc.cs (3)
86_ilist.Insert(index, item); 115Assert.Throws<ArgumentOutOfRangeException>(() => _ilist.Insert(bad[i], items[0])); //"ArgumentOutOfRangeException expected." 118Assert.Throws<ArgumentException>("value", () => _ilist.Insert(0, new LinkedListNode<string>("blargh"))); //"ArgumentException expected."
Collections\SegmentedArrayTests.cs (1)
79Assert.Throws<NotSupportedException>(() => ((IList)data).Insert(0, IntPtr.Zero));
Microsoft.CodeAnalysis.Workspaces (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Microsoft.Maui.Controls (3)
BindableLayout\BindableLayout.cs (1)
172 layout.Children.Insert(index, item);
Shell\ShellElementCollection.cs (2)
135 public virtual void Insert(int index, BaseShellItem item) => Inner.Insert(index, item); 195 VisibleItems.Insert(visibleIndex, element);
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Collection.vb (1)
671Private Sub IListInsert(ByVal index As Integer, ByVal value As Object) Implements IList.Insert
PresentationFramework (13)
System\Windows\Controls\ColumnDefinition.cs (1)
218/// <see cref="IList.Insert"/>
System\Windows\Controls\RowDefinition.cs (1)
213/// <see cref="IList.Insert"/>
System\Windows\Data\BindingListCollectionView.cs (3)
1812_shadowList.Insert(e.NewStartingIndex, e.NewItems[0]); 1916_cachedList.Insert(index, item); 1985_cachedList.Insert(args.NewIndex, item);
System\Windows\Data\ListCollectionView.cs (3)
882InternalList.Insert(toIndex, newItem); 1897InternalList.Insert(adjustedNewIndex - delta, newItem); 2018InternalList.Insert(localNewIndex, newItem);
System\Windows\Documents\LinkTarget.cs (1)
114((IList)this).Insert(index, (object)value);
System\Windows\Documents\TableCellCollection.cs (1)
294((IList)_cellCollectionInternal).Insert(index, value);
System\Windows\Documents\TableColumnCollection.cs (1)
301((IList)_columnCollection).Insert(index, value);
System\Windows\Documents\TableRowCollection.cs (1)
294((IList)_rowCollectionInternal).Insert(index, value);
System\Windows\Documents\TableRowGroupCollection.cs (1)
294((IList)_rowGroupCollectionInternal).Insert(index, value);
Roslyn.Diagnostics.Analyzers (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
System.CodeDom (14)
src\libraries\Common\src\System\CodeDom\CodeTypeReferenceCollection.cs (1)
69public void Insert(int index, CodeTypeReference value) => List.Insert(index, value);
System\CodeDom\CodeAttributeArgumentCollection.cs (1)
57public void Insert(int index, CodeAttributeArgument value) => List.Insert(index, value);
System\CodeDom\CodeAttributeDeclarationCollection.cs (1)
59public void Insert(int index, CodeAttributeDeclaration value) => List.Insert(index, value);
System\CodeDom\CodeCatchClauseCollection.cs (1)
57public void Insert(int index, CodeCatchClause value) => List.Insert(index, value);
System\CodeDom\CodeCommentStatementCollection.cs (1)
57public void Insert(int index, CodeCommentStatement value) => List.Insert(index, value);
System\CodeDom\CodeDirectiveCollection.cs (1)
57public void Insert(int index, CodeDirective value) => List.Insert(index, value);
System\CodeDom\CodeExpressionCollection.cs (1)
57public void Insert(int index, CodeExpression value) => List.Insert(index, value);
System\CodeDom\CodeNamespaceCollection.cs (1)
57public void Insert(int index, CodeNamespace value) => List.Insert(index, value);
System\CodeDom\CodeParameterDeclarationExpressionCollection.cs (1)
57public void Insert(int index, CodeParameterDeclarationExpression value) => List.Insert(index, value);
System\CodeDom\CodeStatementCollection.cs (1)
59public void Insert(int index, CodeStatement value) => List.Insert(index, value);
System\CodeDom\CodeTypeDeclarationCollection.cs (1)
57public void Insert(int index, CodeTypeDeclaration value) => List.Insert(index, value);
System\CodeDom\CodeTypeMemberCollection.cs (1)
57public void Insert(int index, CodeTypeMember value) => List.Insert(index, value);
System\CodeDom\CodeTypeParameterCollection.cs (1)
59public void Insert(int index, CodeTypeParameter value) => List.Insert(index, value);
System\CodeDom\Compiler\CompilerErrorCollection.cs (1)
93public void Insert(int index, CompilerError value) => List.Insert(index, value);
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\DesignerVerbCollection.cs (1)
45public void Insert(int index, DesignerVerb? value) => List.Insert(index, value);
System.Data.Common (3)
System\Data\Common\DbParameterCollection.cs (3)
122/// For a description of this member, see <see cref="IList.Insert" />. 124/// <param name="index">For a description of this member, see <see cref="IList.Insert" />.</param> 125/// <param name="value">For a description of this member, see <see cref="IList.Insert" />.</param>
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (3)
887_list.Insert(index, obj); 911_list.Insert(index++, en.Current); 1567_list.Insert(index, value);
System.Private.DataContractSerialization (1)
src\libraries\Common\src\System\CodeDom\CodeTypeReferenceCollection.cs (1)
69public void Insert(int index, CodeTypeReference value) => List.Insert(index, value);
System.Private.Xml (5)
System\Xml\Schema\XmlSchemaObjectCollection.cs (1)
41List.Insert(index, item);
System\Xml\Serialization\XmlAnyElementAttributes.cs (1)
38List.Insert(index, attribute);
System\Xml\Serialization\XmlArrayItemAttributes.cs (1)
38List.Insert(index, attribute);
System\Xml\Serialization\XmlElementAttributes.cs (1)
38List.Insert(index, attribute);
System\Xml\Serialization\XmlSchemas.cs (1)
122List.Insert(index, schema);
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridView.ControlCollection.cs (1)
27((IList)this).Insert(index, value);
System\Windows\Forms\DataBinding\BindingSource.cs (1)
1500List.Insert(index, value);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutColumnStyleCollection.cs (1)
21public void Insert(int index, ColumnStyle columnStyle) => ((IList)this).Insert(index, columnStyle);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutRowStyleCollection.cs (1)
21public void Insert(int index, RowStyle rowStyle) => ((IList)this).Insert(index, rowStyle);
System.Windows.Forms.Design (17)
System\ComponentModel\Design\DataSourceDescriptorCollection.cs (1)
18public void Insert(int index, DataSourceDescriptor value) => List.Insert(index, value);
System\ComponentModel\Design\DataSourceGroupCollection.cs (1)
18public void Insert(int index, DataSourceGroup value) => List.Insert(index, value);
System\ComponentModel\Design\DesignerActionItemCollection.cs (1)
24public void Insert(int index, DesignerActionItem value) => List.Insert(index, value);
System\ComponentModel\Design\DesignerActionListCollection.cs (1)
48public void Insert(int index, DesignerActionList? value) => List.Insert(index, value);
System\Windows\Forms\Design\Behavior\AdornerCollection.cs (1)
199List.Insert(index, value);
System\Windows\Forms\Design\Behavior\GlyphCollection.cs (1)
108List.Insert(index, value);
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
50void IList.Insert(int index, object value) => ((IList)_realCollection).Insert(index, value);
System\Windows\Forms\Design\DataSourceDescriptorCollection.cs (1)
26List.Insert(index, value);
System\Windows\Forms\Design\DataSourceGroupCollection.cs (1)
26List.Insert(index, value);
System\Windows\Forms\Design\ListAdapter.cs (1)
36void IList<T>.Insert(int index, T item) => _list.Insert(index, item.OrThrowIfNull());
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2181void IList.Insert(int index, object value) => ((IList)_realCollection).Insert(index, value);
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (6)
1073List.Insert(index, new EditorItem(item)); 1103_listBoxList.Insert(toIndex, editorItem.Component); 1112_targetCollectionList.Insert(toIndex - 1, editorItem.Component); 1156_listBoxList.Insert(index, item.Host); 1169_targetCollectionList.Insert(index - 1, item.Component); 1178_listBoxList.Insert(index, item.Component);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
98((IList)_list).Insert(index, value ?? ThrowArgumentNull(nameof(value)));
System.Windows.Forms.Primitives.Tests (2)
System\Windows\Forms\NonNullCollectionTests.cs (2)
111Assert.Throws<ArgumentNullException>("value", () => ((IList)collection).Insert(0, null)); 119((IList)collection).Insert(0, item);
System.Windows.Forms.Tests (105)
System\Windows\Forms\AutoCompleteStringCollectionTests.cs (4)
176collection.Insert(1, s); 185Assert.Throws<ArgumentOutOfRangeException>("index", () => collection.Insert(-1, null)); 195Assert.Throws<ArgumentOutOfRangeException>("index", () => collection.Insert(index, "value")); 202collection.Insert(0, null);
System\Windows\Forms\BindingSourceTests.cs (1)
818public void Insert(int index, object item) => ((IList)_innerList).Insert(index, item);
System\Windows\Forms\CheckedListBox.CheckedIndexCollectionTests.cs (1)
51((IList)_collection).Invoking(c => c.Insert(0, 1)).Should().Throw<NotSupportedException>();
System\Windows\Forms\CheckedListBox.CheckedItemCollectionTests.cs (1)
45((IList)_collection).Invoking(c => c.Insert(0, 1)).Should().Throw<NotSupportedException>();
System\Windows\Forms\ColumnHeaderCollectionTests.cs (3)
843collection.Insert(1, header); 856collection.Insert(0, value); 867Assert.Throws<ArgumentOutOfRangeException>("index", () => collection.Insert(index, new ColumnHeader()));
System\Windows\Forms\DataGridViewSelectedCellCollectionTests.cs (1)
490Assert.Throws<NotSupportedException>(() => iList.Insert(index, value));
System\Windows\Forms\DataGridViewSelectedColumnCollectionTests.cs (1)
538Assert.Throws<NotSupportedException>(() => iList.Insert(index, value));
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (1)
478Assert.Throws<NotSupportedException>(() => iList.Insert(index, value));
System\Windows\Forms\ImageList.ImageCollectionTests.cs (1)
1809Assert.Throws<NotSupportedException>(() => collection.Insert(index, value));
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (65)
9452collection.Insert(0, 1); 9460collection.Insert(0, 2); 9468collection.Insert(1, 2); 9476collection.Insert(3, 3); 9493collection.Insert(0, 1); 9501collection.Insert(0, 2); 9509collection.Insert(0, 2); 9517collection.Insert(3, 3); 9537collection.Insert(0, 1); 9545collection.Insert(0, 2); 9553collection.Insert(0, 2); 9561collection.Insert(3, 3); 9581collection.Insert(0, 1); 9589collection.Insert(0, 2); 9597collection.Insert(0, 2); 9605collection.Insert(3, 3); 9628collection.Insert(0, 1); 9641collection.Insert(0, 2); 9656collection.Insert(0, 2); 9673collection.Insert(3, 3); 9707collection.Insert(0, 1); 9720collection.Insert(0, 2); 9735collection.Insert(0, 2); 9752collection.Insert(3, 3); 9789collection.Insert(0, 1); 9802collection.Insert(0, 2); 9817collection.Insert(0, 2); 9834collection.Insert(3, 3); 9871collection.Insert(0, 1); 9884collection.Insert(0, 2); 9899collection.Insert(0, 2); 9916collection.Insert(3, 3); 9948collection.Insert(3, 0); 9956collection.Insert(4, 5); 9978collection.Insert(3, 0); 9984collection.Insert(4, 5); 10010collection.Insert(3, 0); 10018collection.Insert(2, 2); 10026collection.Insert(3, 4); 10052collection.Insert(3, 0); 10059collection.Insert(2, 2); 10066collection.Insert(4, 5); 10093collection.Insert(3, 0); 10104collection.Insert(4, 5); 10138collection.Insert(3, 0); 10149collection.Insert(4, 5); 10187collection.Insert(3, 0); 10198collection.Insert(2, 2); 10209collection.Insert(3, 4); 10247collection.Insert(3, 0); 10258collection.Insert(2, 2); 10269collection.Insert(4, 5); 10285collection.Insert(0, 2); 10286collection.Insert(1, 1); 10287collection.Insert(2, 1); 10288collection.Insert(3, 3); 10299collection.Insert(0, 2); 10300collection.Insert(1, 1); 10301collection.Insert(2, 1); 10302collection.Insert(3, 3); 10324Assert.Throws<ArgumentOutOfRangeException>("index", () => collection.Insert(index, 1)); 10338Assert.Throws<ArgumentOutOfRangeException>("index", () => collection.Insert(index, 1)); 10346Assert.Throws<ArgumentNullException>("item", () => collection.Insert(0, null)); 10357Assert.Throws<ArgumentException>(() => collection.Insert(0, 1)); 10374Assert.Throws<OutOfMemoryException>(() => collection.Insert(0, 1));
System\Windows\Forms\ListBox.SelectedIndexCollectionTests.cs (1)
98Assert.Throws<NotSupportedException>(() => collection.Insert(index, value));
System\Windows\Forms\ListBox.SelectedObjectCollectionTests.cs (1)
81=> Assert.Throws<NotSupportedException>(() => ((IList)_collection).Insert(index, value));
System\Windows\Forms\ListView.CheckedIndexCollectionTests.cs (1)
165"Insert" => () => ilist.Insert(0, 0),
System\Windows\Forms\ListViewGroupCollectionTests.cs (4)
886collection.Insert(1, group); 899collection.Insert(-1, value); 900collection.Insert(0, value); 911Assert.Throws<ArgumentOutOfRangeException>("index", () => collection.Insert(index, new ListViewGroup()));
System\Windows\Forms\ListViewSubItemCollectionTests.cs (5)
674collection.Insert(1, subItem); 687Assert.Throws<ArgumentException>("item", () => collection.Insert(0, value)); 697Assert.Throws<ArgumentOutOfRangeException>("index", () => collection.Insert(index, new ListViewItem.ListViewSubItem())); 999((IList)listViewItem.SubItems).Insert(0, subItem1); 1000((IList)listViewItem.SubItems).Insert(1, subItem2);
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (10)
3042iList.Insert(0, value1); 3061iList.Insert(0, value2); 3092iList.Insert(2, value1); 3145Assert.Throws<ArgumentException>(() => iList.Insert(0, value)); 3155Assert.Throws<ArgumentOutOfRangeException>("index", () => iList.Insert(-1, value)); 3168Assert.Throws<ArgumentOutOfRangeException>("index", () => iList.Insert(-1, value)); 3181Assert.Throws<ArgumentOutOfRangeException>(() => iList.Insert(index, value)); 3195Assert.Throws<ArgumentOutOfRangeException>(() => iList.Insert(index, value)); 3210Assert.Throws<ArgumentOutOfRangeException>("index", () => iList.Insert(index, value)); 3228Assert.Throws<ArgumentOutOfRangeException>("index", () => iList.Insert(index, value));
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (4)
88collection.Insert(0, style); 100Assert.Throws<ArgumentNullException>("style", () => ((IList)collection).Insert(index, null)); 109Assert.Throws<ArgumentException>(() => collection.Insert(0, new object())); 120Assert.Throws<ArgumentException>("style", () => ((IList)collection).Insert(0, style));
Test.Utilities (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);
Text.Analyzers (2)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
59list.Insert(index, value);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
351=> ((IList)GetOrCreateMutableList()).Insert(index, value);