268 implementations of IListItem
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImportCollection.cs (1)
145object IList.this[int index]
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (1)
242object IList.this[int index]
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
212object IList.this[int index]
Shared\Options\ListValue.cs (1)
87object IList.this[int index]
GenerateDocumentationAndConfigFiles (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Metrics (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Metrics.Legacy (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Microsoft.Build.Framework (5)
ImmutableSegmentedList`1.cs (1)
106object? IList.this[int index]
ImmutableSegmentedList`1+Builder.cs (1)
42object? IList.this[int index]
ImmutableSegmentedList`1+ValueBuilder.cs (1)
53object? IList.this[int index]
SegmentedArray`1.cs (1)
139object? IList.this[int index]
SegmentedList`1.cs (1)
198object? IList.this[int index]
Microsoft.CodeAnalysis (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Microsoft.CodeAnalysis.Analyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Microsoft.CodeAnalysis.BannedApiAnalyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Microsoft.CodeAnalysis.CodeStyle (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Microsoft.CodeAnalysis.Collections.Package (5)
Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Microsoft.CodeAnalysis.Extensions.Package (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Microsoft.CodeAnalysis.InteractiveHost (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Microsoft.CodeAnalysis.PublicApiAnalyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Microsoft.CodeAnalysis.Threading.Package (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Microsoft.CodeAnalysis.Workspaces (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Microsoft.Maui.Controls (4)
ListProxy.cs (1)
412 object IList.this[int index]
ObservableWrapper.cs (1)
310 object IList.this[int index]
ReadOnlyListAdapter.cs (1)
86 public object this[int index]
TemplatedItemsList.cs (1)
314 object IList.this[int index]
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Collection.vb (1)
705Private Property IListItem(ByVal index As Integer) As Object Implements IList.Item
PresentationCore (49)
System\Windows\FreezableCollection.cs (1)
423object IList.this[int index]
System\Windows\Generated\TextDecorationCollection.cs (1)
335object IList.this[int index]
System\Windows\Input\Command\CommandBindingCollection.cs (1)
121object IList.this[int index]
System\Windows\Input\Command\InputBindingCollection.cs (1)
134object IList.this[int index]
System\Windows\Input\Command\InputGestureCollection.cs (1)
131object IList.this[int index]
System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
334object IList.this[int index]
System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
337object IList.this[int index]
System\Windows\Media\FamilyMapCollection.cs (1)
226object SC.IList.this[int index]
System\Windows\Media\FamilyTypefaceCollection.cs (1)
212object SC.IList.this[int index]
System\Windows\Media\Generated\DoubleCollection.cs (1)
296object IList.this[int index]
System\Windows\Media\Generated\DrawingCollection.cs (1)
356object IList.this[int index]
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
344object IList.this[int index]
System\Windows\Media\Generated\GeometryCollection.cs (1)
356object IList.this[int index]
System\Windows\Media\Generated\GradientStopCollection.cs (1)
344object IList.this[int index]
System\Windows\Media\Generated\Int32Collection.cs (1)
296object IList.this[int index]
System\Windows\Media\Generated\PathFigureCollection.cs (1)
345object IList.this[int index]
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
344object IList.this[int index]
System\Windows\Media\Generated\PointCollection.cs (1)
296object IList.this[int index]
System\Windows\Media\Generated\TextEffectCollection.cs (1)
344object IList.this[int index]
System\Windows\Media\Generated\TransformCollection.cs (1)
356object IList.this[int index]
System\Windows\Media\Generated\VectorCollection.cs (1)
296object IList.this[int index]
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
342object IList.this[int index]
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
354object IList.this[int index]
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
354object IList.this[int index]
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
294object IList.this[int index]
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
354object IList.this[int index]
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
294object IList.this[int index]
System\Windows\Media3D\Visual3DCollection.cs (1)
360object IList.this[int index]
PresentationFramework (17)
MS\Internal\Controls\InnerItemCollectionView.cs (1)
96public object this[int index]
MS\Internal\Data\LiveShapingList.cs (1)
563public object this[int index]
MS\Internal\Documents\ContentElementCollection.cs (1)
494object IList.this[int index]
System\Windows\Controls\ColumnDefinition.cs (1)
422object IList.this[int index]
System\Windows\Controls\CustomDictionarySources.cs (1)
255object IList.this[int index]
System\Windows\Controls\ItemCollection.cs (1)
512public object this[int index]
System\Windows\Controls\MultipleCopiesCollection.cs (1)
277public object this[int index]
System\Windows\Controls\RowDefinition.cs (1)
417object IList.this[int index]
System\Windows\Controls\UIElementCollection.cs (1)
455object IList.this[int index]
System\Windows\Data\CompositeCollection.cs (1)
294public object this[int itemIndex]
System\Windows\Documents\TableCellCollection.cs (1)
323object IList.this[int index]
System\Windows\Documents\TableColumnCollection.cs (1)
330object IList.this[int index]
System\Windows\Documents\TableRowCollection.cs (1)
323object IList.this[int index]
System\Windows\Documents\TableRowGroupCollection.cs (1)
323object IList.this[int index]
System\Windows\Documents\TextElementCollection.cs (1)
537object IList.this[int index]
System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (1)
439object IList.this[int index]
System\Windows\TriggerActionCollection.cs (1)
223object IList.this[int index]
Roslyn.Diagnostics.Analyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
System.CodeDom (1)
System\CodeDom\CodeNamespaceImportCollection.cs (1)
66object IList.this[int index]
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (3)
290object? IList.this[int index] 1581object? IList.this[int index] 1730object? IList.this[int index]
System.Collections.Immutable (4)
System\Collections\Immutable\ImmutableArray_1.cs (1)
1355object? IList.this[int index]
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
1127object? IList.this[int index]
System\Collections\Immutable\ImmutableList_1.cs (1)
1070object? IList.this[int index]
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
927object? IList.this[int index]
System.Collections.NonGeneric (3)
System\Collections\CollectionBase.cs (1)
115object? IList.this[int index]
System\Collections\SortedList.cs (2)
952public object? this[int index] 1055public object? this[int index]
System.Collections.Specialized (2)
System\Collections\Specialized\OrderedDictionary.cs (1)
631object? IList.this[int index]
System\Collections\Specialized\StringCollection.cs (1)
186object? IList.this[int index]
System.ComponentModel.TypeConverter (4)
System\ComponentModel\Design\DesignerOptionService.cs (1)
347object? IList.this[int index]
System\ComponentModel\EventDescriptorCollection.cs (1)
376object? IList.this[int index]
System\ComponentModel\ListSortDescriptionCollection.cs (1)
40object? IList.this[int index]
System\ComponentModel\PropertyDescriptorCollection.cs (1)
563object? IList.this[int index]
System.Data.Common (5)
System\Data\Common\DataColumnMappingCollection.cs (1)
39object? IList.this[int index]
System\Data\Common\DataTableMappingCollection.cs (1)
28object? IList.this[int index]
System\Data\Common\DbParameterCollection.cs (1)
38object? IList.this[int index]
System\Data\DataView.cs (1)
515object? IList.this[int recordIndex]
System\Data\DataViewManager.cs (1)
163object? IList.this[int index]
System.Diagnostics.TraceSource (1)
System\Diagnostics\TraceListeners.cs (1)
210object? IList.this[int index]
System.DirectoryServices (1)
artifacts\obj\System.DirectoryServices\Debug\net10.0\System.DirectoryServices.notsupported.cs (1)
446object? System.Collections.IList.this[int index] { get { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); } set { 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)
367object System.Collections.IList.this[int index] { get { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); } }
System.Linq.Expressions (1)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
326object? IList.this[int index]
System.ObjectModel (2)
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (2)
294public object? this[int index] 327public object? this[int index]
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Array.cs (1)
1028object? IList.this[int index]
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (4)
119public virtual object? this[int index] 1494public object? this[int index] 1605public object? this[int index] 1864public object? this[int index]
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
173object? IList.this[int index]
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
241object? IList.this[int index]
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
176object? IList.this[int index]
System.Private.Xml (2)
System\Xml\Xsl\ListBase.cs (1)
131object? System.Collections.IList.this[int index]
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (1)
244object? System.Collections.IList.this[int index]
System.Security.Cryptography.Xml (3)
System\Security\Cryptography\Xml\CanonicalXmlNodeList.cs (1)
83object? IList.this[int index]
System\Security\Cryptography\Xml\EncryptionPropertyCollection.cs (1)
136object? IList.this[int index]
System\Security\Cryptography\Xml\ReferenceList.cs (1)
94object? IList.this[int index]
System.ServiceModel.Primitives (1)
netstandard.cs (1)
42object IList.this[int index] { get { return default; } set { } }
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\CaptureCollection.cs (1)
174object? IList.this[int index]
System\Text\RegularExpressions\GroupCollection.cs (1)
188object? IList.this[int index]
System\Text\RegularExpressions\MatchCollection.cs (1)
187object? IList.this[int index]
System.Windows.Forms (37)
System\Windows\Forms\AutoCompleteStringCollection.cs (1)
181object? IList.this[int index]
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (1)
214public virtual object? this[int index]
System\Windows\Forms\Controls\DataGridView\DataGridViewCellCollection.cs (1)
38object? IList.this[int index]
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (1)
31object? IList.this[int index]
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.ObjectCollection.cs (1)
150public virtual object? this[int index]
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (1)
57object? IList.this[int index]
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedCellCollection.cs (1)
51object? IList.this[int index]
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedColumnCollection.cs (1)
47object? IList.this[int index]
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedRowCollection.cs (1)
36object? IList.this[int index]
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (1)
186object? IList.this[int index]
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (1)
41object? IList.this[int index]
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedIndexCollection.cs (1)
77object? IList.this[int index]
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedItemCollection.cs (1)
52public object? this[int index]
System\Windows\Forms\Controls\ListBoxes\ListBox.IntegerCollection.cs (1)
298object? IList.this[int index]
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (1)
222object? IList.this[int index]
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.cs (1)
146object? IList.this[int index]
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedObjectCollection.cs (1)
192public object? this[int index]
System\Windows\Forms\Controls\ListView\ListView.CheckedIndexCollection.cs (1)
99object? IList.this[int index]
System\Windows\Forms\Controls\ListView\ListView.CheckedListViewItemCollection.cs (1)
79object? IList.this[int index]
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (1)
27object? IList.this[int index]
System\Windows\Forms\Controls\ListView\ListView.ListViewItemCollection.cs (1)
84object? IList.this[int index]
System\Windows\Forms\Controls\ListView\ListView.SelectedIndexCollection.cs (1)
124object? IList.this[int index]
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (1)
179object? IList.this[int index]
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (1)
100object? IList.this[int index]
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItemCollection.cs (1)
69object? IList.this[int index]
System\Windows\Forms\Controls\TabControl\TabControl.TabPageCollection.cs (1)
32object? IList.this[int index]
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (1)
306object? IList.this[int index]
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelRowCollection.cs (1)
121object? IList.this[int index]
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
70object? IList.this[int index]
System\Windows\Forms\Controls\Unsupported\ContextMenu\Menu.MenuItemCollection.cs (1)
30object IList.this[int index]
System\Windows\Forms\Controls\Unsupported\DataGrid\GridColumnStylesCollection.cs (1)
46object IList.this[int index]
System\Windows\Forms\Controls\Unsupported\DataGrid\GridTableStylesCollection.cs (1)
44object IList.this[int index]
System\Windows\Forms\Controls\Unsupported\StatusBar\StatusBar.StatusBarPanelCollection.cs (1)
34object IList.this[int index]
System\Windows\Forms\Controls\Unsupported\ToolBar\ToolBar.ToolBarButtonCollection.cs (1)
33object IList.this[int index]
System\Windows\Forms\DataBinding\BindingSource.cs (1)
1523public virtual object? this[int index]
System\Windows\Forms\Layout\ArrangedElementCollection.cs (1)
138object? IList.this[int index]
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyleCollection.cs (1)
57object? IList.this[int index]
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
56object IList.this[int index]
System\Windows\Forms\Design\ImageListDesigner.OriginalImageCollection.cs (1)
69object? IList.this[int index]
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2187object IList.this[int index]
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
104object? IList.this[int index]
System.Windows.Forms.Tests (1)
System\Windows\Forms\BindingSourceTests.cs (1)
806object IList.this[int index]
System.Xaml.Tests (1)
System\Xaml\XamlTypeTests.cs (1)
3224public object? this[int index] { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
Test.Utilities (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
Text.Analyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
108object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
44object? IList.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
55object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
138object? IList.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
227object? IList.this[int index]
135 writes to IListItem
dotnet-svcutil-lib (36)
FrameworkFork\Microsoft.CodeDom\Compiler\CompilerErrorCollection.cs (1)
61List[index] = value;
FrameworkFork\Microsoft.CodeDom\System\CodeAttributeArgumentCollection.cs (1)
64List[index] = value;
FrameworkFork\Microsoft.CodeDom\System\CodeAttributeDeclarationCollection.cs (1)
64List[index] = value;
FrameworkFork\Microsoft.CodeDom\System\CodeCatchClauseCollection.cs (1)
64List[index] = value;
FrameworkFork\Microsoft.CodeDom\System\CodeCommentStatementCollection.cs (1)
64List[index] = value;
FrameworkFork\Microsoft.CodeDom\System\CodeDirectiveCollection.cs (1)
41List[index] = value;
FrameworkFork\Microsoft.CodeDom\System\CodeExpressionCollection.cs (1)
64List[index] = value;
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceCollection.cs (1)
64List[index] = value;
FrameworkFork\Microsoft.CodeDom\System\CodeParameterDeclarationExpressionCollection.cs (1)
64List[index] = value;
FrameworkFork\Microsoft.CodeDom\System\CodeStatementCollection.cs (1)
64List[index] = value;
FrameworkFork\Microsoft.CodeDom\System\CodeTypeDeclarationCollection.cs (1)
64List[index] = value;
FrameworkFork\Microsoft.CodeDom\System\CodeTypeMemberCollection.cs (1)
64List[index] = value;
FrameworkFork\Microsoft.CodeDom\System\CodeTypeParameterCollection.cs (1)
40List[index] = value;
FrameworkFork\Microsoft.CodeDom\System\CodeTypeReferenceCollection.cs (1)
64List[index] = value;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectCollection.cs (1)
47set { List[index] = value; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\Advanced\SchemaImporterExtension.cs (1)
112set { List[index] = value; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAnyElementAttributes.cs (1)
25set { List[index] = value; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlArrayItemAttributes.cs (1)
25set { List[index] = value; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlElementAttributes.cs (1)
25set { List[index] = value; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (1)
48set { List[index] = value; }
FrameworkFork\System.Web.Services\Services\Description\MimeFormatExtensions.cs (2)
91set { List[index] = value; } 258set { List[index] = value; }
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (13)
1576set { List[index] = value; } 1872set { List[index] = value; } 2064set { List[index] = value; } 2146set { List[index] = value; } 2246set { List[index] = value; } 2346set { List[index] = value; } 2446set { List[index] = value; } 2546set { List[index] = value; } 2646set { List[index] = value; } 2746set { List[index] = value; } 2828set { List[index] = value; } 2928set { List[index] = value; } 3010set { List[index] = value; }
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptions.cs (1)
29set { List[index] = value; }
GenerateDocumentationAndConfigFiles (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Metrics (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Metrics.Legacy (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Microsoft.AspNetCore.JsonPatch (2)
Internal\ListAdapter.cs (2)
148list[list.Count - 1] = convertedValue; 152list[positionInfo.Index] = convertedValue;
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Helpers\GenericListOrJsonArrayUtilities.cs (1)
31nonGenericList[index] = value;
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\ModelBindingHelper.cs (1)
643converted[i] = ConvertSimpleType(valueAsArray.GetValue(i), destinationElementType, culture);
Microsoft.Build.Framework (1)
IListCalls.cs (1)
26=> list[index] = value;
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Microsoft.CodeAnalysis.Analyzers (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Microsoft.CodeAnalysis.Collections.Package (1)
Internal\IListCalls.cs (1)
28=> list[index] = value;
Microsoft.CodeAnalysis.Extensions.Package (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Microsoft.CodeAnalysis.Threading.Package (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Microsoft.CodeAnalysis.UnitTests (8)
Collections\List\IList.NonGeneric.Tests.cs (8)
255Assert.Throws(IList_NonGeneric_Item_InvalidIndex_ThrowType, () => list[int.MinValue] = validAdd); 268Assert.Throws(IList_NonGeneric_Item_InvalidIndex_ThrowType, () => list[count] = validAdd); 269Assert.Throws(IList_NonGeneric_Item_InvalidIndex_ThrowType, () => list[count + 1] = validAdd); 281Assert.Throws<NotSupportedException>(() => list[count / 2] = CreateT(321432)); 321list[lastIndex] = value; 335list[lastIndex] = value; 364Assert.Throws<ArgumentException>(() => list[count / 2] = value); 674list[count / 2] = value;
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Microsoft.Maui.Controls (2)
BindableLayout\BindableLayout.cs (1)
160 layout.Children[index] = item;
Shell\ShellElementCollection.cs (1)
105 set => Inner[index] = value;
PresentationFramework (4)
MS\Internal\Data\IndexedEnumerable.cs (1)
313list[index] = item;
System\Windows\Data\BindingListCollectionView.cs (1)
1818_shadowList[e.OldStartingIndex] = e.NewItems[0];
System\Windows\Data\ListCollectionView.cs (2)
1965InternalList[adjustedOldIndex - delta] = newItem; 2003InternalList[localNewIndex] = newItem;
Roslyn.Diagnostics.Analyzers (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
System.CodeDom (14)
src\libraries\Common\src\System\CodeDom\CodeTypeReferenceCollection.cs (1)
33set { List[index] = value; }
System\CodeDom\CodeAttributeArgumentCollection.cs (1)
25set => List[index] = value;
System\CodeDom\CodeAttributeDeclarationCollection.cs (1)
27set => List[index] = value;
System\CodeDom\CodeCatchClauseCollection.cs (1)
25set => List[index] = value;
System\CodeDom\CodeCommentStatementCollection.cs (1)
25set { List[index] = value; }
System\CodeDom\CodeDirectiveCollection.cs (1)
25set => List[index] = value;
System\CodeDom\CodeExpressionCollection.cs (1)
25set => List[index] = value;
System\CodeDom\CodeNamespaceCollection.cs (1)
25set => List[index] = value;
System\CodeDom\CodeParameterDeclarationExpressionCollection.cs (1)
25set => List[index] = value;
System\CodeDom\CodeStatementCollection.cs (1)
25set => List[index] = value;
System\CodeDom\CodeTypeDeclarationCollection.cs (1)
25set => List[index] = value;
System\CodeDom\CodeTypeMemberCollection.cs (1)
25set => List[index] = value;
System\CodeDom\CodeTypeParameterCollection.cs (1)
25set => List[index] = value;
System\CodeDom\Compiler\CompilerErrorCollection.cs (1)
25set => List[index] = value;
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\DesignerVerbCollection.cs (1)
19set => List[index] = value;
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (7)
740_list[index] = value; 997_list[i++] = _list[j]; 998_list[j--] = tmp; 1017_list[index++] = en.Current; 1043_list[i + index] = array[i]; 1507_list[index] = value; 1608set => _list[index] = value;
System.Private.DataContractSerialization (1)
src\libraries\Common\src\System\CodeDom\CodeTypeReferenceCollection.cs (1)
33set { List[index] = value; }
System.Private.Xml (5)
System\Xml\Schema\XmlSchemaObjectCollection.cs (1)
26set { List[index] = value; }
System\Xml\Serialization\XmlAnyElementAttributes.cs (1)
22set { List[index] = value; }
System\Xml\Serialization\XmlArrayItemAttributes.cs (1)
22set { List[index] = value; }
System\Xml\Serialization\XmlElementAttributes.cs (1)
22set { List[index] = value; }
System\Xml\Serialization\XmlSchemas.cs (1)
36set { List[index] = value; }
System.Windows.Forms (2)
System\Windows\Forms\DataBinding\BindingSource.cs (1)
1528List[index] = value;
System\Windows\Forms\DataBinding\CurrencyManager.cs (1)
270_list[index] = value;
System.Windows.Forms.Design (9)
System\ComponentModel\Design\DataSourceDescriptorCollection.cs (1)
29set => List[index] = value;
System\ComponentModel\Design\DataSourceGroupCollection.cs (1)
30set => List[index] = value;
System\ComponentModel\Design\DesignerActionItemCollection.cs (1)
13set => List[index] = value;
System\ComponentModel\Design\DesignerActionListCollection.cs (1)
22set => List[index] = value;
System\Windows\Forms\Design\Behavior\AdornerCollection.cs (1)
65List[index] = value;
System\Windows\Forms\Design\Behavior\GlyphCollection.cs (1)
42set => List[index] = value;
System\Windows\Forms\Design\DataSourceDescriptorCollection.cs (1)
53List[index] = value;
System\Windows\Forms\Design\DataSourceGroupCollection.cs (1)
48set => List[index] = value;
System\Windows\Forms\Design\ListAdapter.cs (1)
23set => _list[index] = value.OrThrowIfNull();
System.Windows.Forms.Tests (21)
System\Windows\Forms\ColumnHeaderCollectionTests.cs (1)
100Assert.Throws<NotSupportedException>(() => collection[index] = new ColumnHeader());
System\Windows\Forms\DataGridViewSelectedCellCollectionTests.cs (1)
282Assert.Throws<NotSupportedException>(() => iList[index] = value);
System\Windows\Forms\DataGridViewSelectedColumnCollectionTests.cs (1)
314Assert.Throws<NotSupportedException>(() => iList[index] = value);
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (1)
274Assert.Throws<NotSupportedException>(() => iList[index] = value);
System\Windows\Forms\ImageList.ImageCollectionTests.cs (2)
1682Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index] = value); 1696Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index] = image);
System\Windows\Forms\ListBox.IntegerCollectionTests.cs (3)
1714Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index] = 2); 1728Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index] = 2); 1742Assert.Throws<ArgumentException>(() => collection[index] = item);
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (4)
8060Assert.Throws<ArgumentNullException>("value", () => collection[index] = null); 8075Assert.Throws<ArgumentNullException>("value", () => collection[index] = null); 8086Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index] = 2); 8100Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index] = 2);
System\Windows\Forms\ListBox.SelectedIndexCollectionTests.cs (1)
62Assert.Throws<NotSupportedException>(() => collection[index] = value);
System\Windows\Forms\ListViewGroupCollectionTests.cs (1)
248Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index] = new ListViewGroup());
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (6)
3773iList[index] = newPage; 3817iList[index] = newPage; 3856iList[index] = newPage; 3911iList[index] = newPage; 3957Assert.Throws<ArgumentOutOfRangeException>("index", () => iList[index] = page); 3972Assert.Throws<ArgumentOutOfRangeException>("index", () => iList[index] = page2);
Test.Utilities (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
Text.Analyzers (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
28=> list[index] = value;
327 references to IListItem
dotnet-svcutil-lib (48)
CodeDomFixup\CollectionHelpers.cs (2)
16T t = list[i] as T; 33T t = list[i] as T;
FrameworkFork\Microsoft.CodeDom\Compiler\CompilerErrorCollection.cs (1)
57return ((CompilerError)(List[index]));
FrameworkFork\Microsoft.CodeDom\System\CodeAttributeArgumentCollection.cs (1)
60return ((CodeAttributeArgument)(List[index]));
FrameworkFork\Microsoft.CodeDom\System\CodeAttributeDeclarationCollection.cs (1)
60return ((CodeAttributeDeclaration)(List[index]));
FrameworkFork\Microsoft.CodeDom\System\CodeCatchClauseCollection.cs (1)
60return ((CodeCatchClause)(List[index]));
FrameworkFork\Microsoft.CodeDom\System\CodeCommentStatementCollection.cs (1)
60return ((CodeCommentStatement)(List[index]));
FrameworkFork\Microsoft.CodeDom\System\CodeDirectiveCollection.cs (1)
37return ((CodeDirective)(List[index]));
FrameworkFork\Microsoft.CodeDom\System\CodeExpressionCollection.cs (1)
60return ((CodeExpression)(List[index]));
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceCollection.cs (1)
60return ((CodeNamespace)(List[index]));
FrameworkFork\Microsoft.CodeDom\System\CodeParameterDeclarationExpressionCollection.cs (1)
60return ((CodeParameterDeclarationExpression)(List[index]));
FrameworkFork\Microsoft.CodeDom\System\CodeStatementCollection.cs (1)
60return ((CodeStatement)(List[index]));
FrameworkFork\Microsoft.CodeDom\System\CodeTypeDeclarationCollection.cs (1)
60return ((CodeTypeDeclaration)(List[index]));
FrameworkFork\Microsoft.CodeDom\System\CodeTypeMemberCollection.cs (1)
60return ((CodeTypeMember)(List[index]));
FrameworkFork\Microsoft.CodeDom\System\CodeTypeParameterCollection.cs (1)
36return ((CodeTypeParameter)(List[index]));
FrameworkFork\Microsoft.CodeDom\System\CodeTypeReferenceCollection.cs (1)
60return ((CodeTypeReference)(List[index]));
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectCollection.cs (1)
46get { return (XmlSchemaObject)List[index]; }
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (2)
3576arrDst[i] = (T)this.atomicConverter.ChangeType(listSrc[i], typeof(T), nsResolver); 3604arrDst[i] = this.atomicConverter.ChangeType(listSrc[i], ObjectType, nsResolver);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Advanced\SchemaImporterExtension.cs (1)
111get { return (SchemaImporterExtension)List[index]; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAnyElementAttributes.cs (1)
24get { return (XmlAnyElementAttribute)List[index]; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlArrayItemAttributes.cs (1)
24get { return (XmlArrayItemAttribute)List[index]; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlElementAttributes.cs (1)
24get { return (XmlElementAttribute)List[index]; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (1)
47get { return (XmlSchema)List[index]; }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathArrayIterator.cs (1)
60return (XPathNavigator)list[index - 1];
FrameworkFork\System.Web.Services\Services\Description\MimeFormatExtensions.cs (2)
90get { return (MimePart)List[index]; } 257get { return (MimeTextMatch)List[index]; }
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (20)
1575get { return (object)List[index]; } 1641object item = List[i]; 1660object item = List[i]; 1678XmlElement element = List[i] as XmlElement; 1697XmlElement element = List[i] as XmlElement; 1871get { return (OperationMessage)List[index]; } 1939OperationInput input = List[i] as OperationInput; 1959OperationOutput output = List[i] as OperationOutput; 2063get { return (Import)List[index]; } 2145get { return (Message)List[index]; } 2245get { return (Port)List[index]; } 2345get { return (PortType)List[index]; } 2445get { return (Binding)List[index]; } 2545get { return (Service)List[index]; } 2645get { return (MessagePart)List[index]; } 2745get { return (OperationBinding)List[index]; } 2827get { return (FaultBinding)List[index]; } 2927get { return (Operation)List[index]; } 3009get { return (OperationFault)List[index]; } 3162RemoveValue(List[i]);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptions.cs (1)
28get { return (ServiceDescription)List[index]; }
GenerateDocumentationAndConfigFiles (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
InMemory.FunctionalTests (1)
HttpsConnectionMiddlewareTests.cs (1)
863var c = (X509Certificate)list[i];
InteropClient (2)
Assert.cs (2)
125Assert.AreEqual(expected[i]!, actual[i]!);
Metrics (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
Metrics.Legacy (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
Microsoft.AspNetCore.JsonPatch (4)
Internal\ListAdapter.cs (4)
80value = list[list.Count - 1]; 84value = list[positionInfo.Index]; 183var currentValue = list[positionInfo.Index]; 225value = list[index];
Microsoft.AspNetCore.JsonPatch.SystemTextJson (2)
Helpers\GenericListOrJsonArrayUtilities.cs (1)
16return nonGenericList[index];
Internal\ListAdapter.cs (1)
172value = list[index];
Microsoft.Build.Framework (2)
IListCalls.cs (1)
22=> list[index];
TaskParameterEventArgs.cs (1)
205var item = items[i];
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
Microsoft.CodeAnalysis.Analyzers (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
Microsoft.CodeAnalysis.Collections.Package (1)
Internal\IListCalls.cs (1)
24=> list[index];
Microsoft.CodeAnalysis.Extensions.Package (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
Microsoft.CodeAnalysis.Threading.Package (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
Microsoft.CodeAnalysis.UnitTests (10)
Collections\List\IList.NonGeneric.Tests.cs (10)
221Assert.Throws(IList_NonGeneric_Item_InvalidIndex_ThrowType, () => list[int.MinValue]); 229Assert.Throws(IList_NonGeneric_Item_InvalidIndex_ThrowType, () => list[count]); 230Assert.Throws(IList_NonGeneric_Item_InvalidIndex_ThrowType, () => list[count + 1]); 239Assert.All(Enumerable.Range(0, count), index => result = list[index]); 322Assert.Equal(value, list[lastIndex]); 336Assert.Equal(value, list[lastIndex]); 687Assert.Equal(index, list.IndexOf(list[index])); 755Assert.Equal(validAdd, list[count]); 809Assert.Equal(value, list[lastIndex]); 824Assert.Equal(value, list[lastIndex]);
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
Microsoft.Maui.Controls (37)
BindableLayout\BindableLayout.cs (3)
399 IView child = (IView)layoutChildren[childrenCount]!; 535 var child = (IView)layout.Children[index]!; 556 var child = (IView)layoutChildren[index]!;
Internals\NotifyCollectionChangedEventArgsExtensions.cs (6)
43 insert(self.NewItems[i], i + self.NewStartingIndex, true); 52 removeAt(self.OldItems[i], self.OldStartingIndex); 59 insert(self.OldItems[i], insertIndex + i, false); 68 removeAt(self.OldItems[i], self.OldStartingIndex); 77 removeAt(self.OldItems[i], i + self.OldStartingIndex); 78 insert(self.NewItems[i], i + self.OldStartingIndex, true);
Items\MarshalingObservableCollection.cs (1)
59 items.Add(_internalCollection[n]);
LegacyLayouts\Layout.cs (2)
628 object item = e.OldItems[i]; 643 object item = e.NewItems[i];
ListProxy.cs (1)
263 indexedValue = _list[index];
MultiPage.cs (6)
162 SelectedItem = index != -1 ? _templatedItems.ListProxy[index] : null; 234 var page = (T)e.NewItems[i]; 238 InternalChildren.Insert(index, (T)e.NewItems[i]); 293 var page = (T)e.OldItems[i]; 310 T page = _templatedItems.GetOrCreateContent(i, e.NewItems[i - e.OldStartingIndex]); 338 T page = _templatedItems.GetOrCreateContent(i, _templatedItems.ListProxy[i]);
Page\Page.cs (1)
741 var item = (Element)e.OldItems[i];
Picker\Picker.cs (2)
405 var item = index < ItemsSource.Count ? ItemsSource[index] : null; 452 return GetDisplayMember(ItemsSource[index]);
Shell\ShellContent.cs (1)
334 var el = (Element)e.OldItems[i];
Shell\ShellElementCollection.cs (2)
104 get => (BaseShellItem)Inner[index]; 188 var item = Inner[i];
Shell\ShellItem.cs (1)
321 var element = (Element)e.OldItems[i];
TemplatedItemsList.cs (11)
345 get { return GetOrCreateContent(index, ListProxy[index]); } 638 object item = ListProxy[index]; 688 TItem content = !forceCreate ? GetOrCreateContent(index, items[i]) : CreateContent(index, items[i]); 811 TemplatedItemsList<TView, TItem> converted = InsertGrouped(e.NewItems[i], e.NewStartingIndex + i); 861 newItems.Add(InsertGrouped(e.NewItems[i], index)); 1093 UnhookItem((TItem)oldItems[i]); 1172 OnProxyCollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, e.NewItems[i], e.NewStartingIndex + i)); 1181 OnProxyCollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, e.OldItems[i], e.OldStartingIndex + i)); 1190 OnProxyCollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, e.NewItems[i], e.OldItems[i], e.OldStartingIndex + i));
Microsoft.Maui.Controls.Xaml (1)
MarkupExtensions\ArrayExtension.cs (1)
34 ((IList)array)[i] = Items[i];
Microsoft.ML.Core (4)
CommandLine\CmdParser.cs (4)
1983if (!vals[i].Equals(defs[i])) 2082if (!vals[i].Equals(defs[i]))
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Collection.vb (1)
705Private Property IListItem(ByVal index As Integer) As Object Implements IList.Item
PresentationFramework (100)
MS\Internal\Data\CollectionViewGroupInternal.cs (2)
457if (localIndex < n && System.Windows.Controls.ItemsControl.EqualsEx(ProtectedItems[localIndex], list[fullIndex])) 638object z = _list[_index];
MS\Internal\Data\EnumerableCollectionView.cs (7)
406_snapshot.Add(args.NewItems[i]); 413_snapshot.Insert(args.NewStartingIndex, args.NewItems[i]); 424if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i], _snapshot[index])) 434if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i], _snapshot[index])) 437_snapshot[index] = args.NewItems[i]; 453if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i], _snapshot[oldIndex])) 467if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i], _snapshot[oldIndex]))
MS\Internal\Data\IndexedEnumerable.cs (1)
623value = List[index];
MS\Internal\Data\PropertyPathWorker.cs (1)
279value = ilist[index];
MS\Internal\ListOfObject.cs (1)
42return _list[index];
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (2)
398ItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.AddedItems[i]); 407ItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.RemovedItems[i]);
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (5)
201if (items.IndexOf(items[i]) != i) 203return (ProviderFromPeer(FindOrCreateItemAutomationPeer(items[i]))); 211currentItemPeer = FindOrCreateItemAutomationPeer(items[i]); 227if (currentValue == null && value == null && items.IndexOf(items[i]) == i) 234if (value.Equals(currentValue) && items.IndexOf(items[i]) == i)
System\Windows\Automation\Peers\SelectorAutomationPeer.cs (2)
165SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.AddedItems[i]) as SelectorItemAutomationPeer; 172SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.RemovedItems[i]) as SelectorItemAutomationPeer;
System\Windows\Controls\ColumnDefinition.cs (1)
416/// <see cref="IList.this"/>
System\Windows\Controls\DataErrorValidationRule.cs (1)
50IDataErrorInfo idei = items[i] as IDataErrorInfo;
System\Windows\Controls\DataGrid.cs (2)
282DataGridColumn column = (DataGridColumn)list[i]; 313var column = (DataGridColumn)list[i];
System\Windows\Controls\DataGridCellsPanel.cs (6)
631if (childIndex >= children.Count || !(children[childIndex] == child)) 1056UIElement child = children[i] as UIElement; 1401ArrangeChild(children[childIndex] as UIElement, i, arrangeState); 1423UIElement child = children[additionalChildIndices[i]] as UIElement; 1584IProvideDataGridColumn cell = children[i] as IProvideDataGridColumn; 1650IProvideDataGridColumn cell = children[k] as IProvideDataGridColumn;
System\Windows\Controls\DataGridColumnCollection.cs (1)
629var column = (DataGridColumn)oldColumns[i];
System\Windows\Controls\DataGridColumnHeaderCollection.cs (1)
247DataGridColumn column = columns[i] as DataGridColumn;
System\Windows\Controls\ItemCollection.cs (4)
2176clone.Insert(e.NewStartingIndex + i, (T)e.NewItems[i]); 2195clone[e.OldStartingIndex + i] = (T)e.NewItems[i]; 2216clone.Insert(e.NewStartingIndex + i, (T)e.NewItems[i]); 2247clone.Add(master[i]);
System\Windows\Controls\ItemContainerGenerator.cs (6)
904CollectionViewGroup group = ItemsInternal[index] as CollectionViewGroup; 1026object actualItem = (index < _items.Count) ? _items[index] : null; 1386object item = items[itemIndex]; 2206ItemsInternal[correctIndex - 1]), 2220ItemsInternal[correctIndex + block.ItemCount - deletionOffset]); 2369Debug.Assert(ItemsControl.EqualsEx(item, ItemsInternal[index]), "Event contains the wrong index");
System\Windows\Controls\RowDefinition.cs (1)
411/// <see cref="IList.this"/>
System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
1180int rowIndex = _owner.Items.IndexOf(rows[i]); 1413int rowIndex = _owner.Items.IndexOf(rows[i]);
System\Windows\Controls\VirtualizingStackPanel.cs (23)
1632CollectionViewGroup cvg = items[i] as CollectionViewGroup; 2415object item = items[i]; 2594firstContainerInViewport = children[firstItemInViewportChildIndex] as UIElement; 2718object item = items[i]; 3389child = (UIElement)children[i]; 3427containerBeforeViewport = (UIElement)children[j]; 5576object item = items[i]; 5852Size childDesiredSize = ((UIElement)children[i]).DesiredSize; 5933object item = items[i]; 5984object item = items[i]; 6830IHierarchicalVirtualizationAndScrollInfo virtualizingGrandChild = children[i] as IHierarchicalVirtualizationAndScrollInfo; 7456UIElement child = children[i] as UIElement; 7533object value = itemStorageProvider.ReadItemValue(items[i], ContainerSizeProperty); 7608UIElement child = children[i] as UIElement; 7735value = itemStorageProvider.ReadItemValue(items[i], ContainerSizeProperty); 7744value = itemStorageProvider.ReadItemValue(items[i], ContainerSizeDualProperty); 8075object item = ((ItemContainerGenerator)generator).ItemFromContainer((UIElement)children[childIndex]); 8199child = (UIElement)children[childIndex]; 8899if (childIndex < 0 || childIndex >= children.Count || !(children[childIndex] == child)) 9093child = (UIElement)children[childIndex]; 9447list.Add(ContainerPath((DependencyObject)children[startIndex + i])); 9467list.Add(ContainerPath((DependencyObject)children[startIndex + i])); 11252container = (UIElement)children[i];
System\Windows\Data\BindingGroup.cs (4)
177if (!(items[i] is IEditableObject)) 339IEditableObject ieo = items[i] as IEditableObject; 380IEditableObject ieo = items[i] as IEditableObject; 1236IEditableObject ieo = items[i] as IEditableObject;
System\Windows\Data\BindingListCollectionView.cs (8)
1776return CollectionProxy[index]; 1907Debug.Assert(_newItem == InternalList[index], "unexpected item while committing AddNew"); 1914item = InternalList[index]; 1927item = _cachedList[index]; 1966Debug.Assert(item == InternalList[index], "unexpected item while committing AddNew"); 1972item = InternalList[index]; 1995item = InternalList[args.NewIndex]; 2272object item = list[k];
System\Windows\Data\ListCollectionView.cs (13)
758if (!System.Windows.Controls.ItemsControl.EqualsEx(newItem, SourceList[index])) 1236if (localIndex > 0 && ActiveComparer.Compare(list[localIndex-1], editItem) > 0) 1243else if (localIndex < list.Count - 1 && ActiveComparer.Compare(editItem, list[localIndex+1]) > 0) 1932System.Windows.Controls.ItemsControl.EqualsEx(ItemFrom(InternalList[localOldIndex]), oldItem)) 1994System.Windows.Controls.ItemsControl.EqualsEx(InternalList[localOldIndex], oldItem)) 2245return InternalList[index]; 2573object item = list[k]; 2675if (!System.Windows.Controls.ItemsControl.EqualsEx(item, ilFull[index])) 2774if (System.Windows.Controls.ItemsControl.EqualsEx(ilFull[fullIndex], ilPartial[localIndex])) 2780else if (System.Windows.Controls.ItemsControl.EqualsEx(item, ilPartial[localIndex])) 2964object item = InternalList[k]; 3179if (System.Windows.Controls.ItemsControl.EqualsEx(item, ilFull[index]))
System\Windows\Documents\AdornerLayer.cs (1)
664adornerInfos = (ArrayList)_zOrderMap[keys[index]];
System\Windows\Documents\InputScopeAttribute.cs (2)
65Marshal.WriteInt32(ppinputscopes, offset, (Int32)((InputScopeName)_inputScope.Names[i]).NameValue); 97pbstr = Marshal.StringToBSTR(((InputScopePhrase)_inputScope.PhraseList[i]).Name);
System\Windows\ResourceDictionary.cs (2)
1909mergedDictionary = (ResourceDictionary)e.OldItems[i]; 1927mergedDictionary = (ResourceDictionary)e.NewItems[i];
System\Windows\VisualStateGroup.cs (1)
73VisualState state = (VisualState)States[stateIndex];
Roslyn.Diagnostics.Analyzers (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
System.CodeDom (14)
src\libraries\Common\src\System\CodeDom\CodeTypeReferenceCollection.cs (1)
32get { return ((CodeTypeReference)(List[index]!)); }
System\CodeDom\CodeAttributeArgumentCollection.cs (1)
24get => (CodeAttributeArgument)List[index];
System\CodeDom\CodeAttributeDeclarationCollection.cs (1)
26get => ((CodeAttributeDeclaration)(List[index]));
System\CodeDom\CodeCatchClauseCollection.cs (1)
24get => ((CodeCatchClause)(List[index]));
System\CodeDom\CodeCommentStatementCollection.cs (1)
24get { return (CodeCommentStatement)List[index]; }
System\CodeDom\CodeDirectiveCollection.cs (1)
24get => (CodeDirective)List[index];
System\CodeDom\CodeExpressionCollection.cs (1)
24get => (CodeExpression)List[index];
System\CodeDom\CodeNamespaceCollection.cs (1)
24get => (CodeNamespace)List[index];
System\CodeDom\CodeParameterDeclarationExpressionCollection.cs (1)
24get => (CodeParameterDeclarationExpression)List[index];
System\CodeDom\CodeStatementCollection.cs (1)
24get => (CodeStatement)List[index];
System\CodeDom\CodeTypeDeclarationCollection.cs (1)
24get => (CodeTypeDeclaration)List[index];
System\CodeDom\CodeTypeMemberCollection.cs (1)
24get => (CodeTypeMember)List[index];
System\CodeDom\CodeTypeParameterCollection.cs (1)
24get => (CodeTypeParameter)List[index];
System\CodeDom\Compiler\CompilerErrorCollection.cs (1)
24get => (CompilerError)List[index];
System.ComponentModel.TypeConverter (9)
System\ComponentModel\Design\DesignerCollection.cs (1)
50public virtual IDesignerHost? this[int index] => (IDesignerHost?)_designers[index];
System\ComponentModel\Design\DesignerVerbCollection.cs (1)
18get => (DesignerVerb?)(List[index]);
System\ComponentModel\TypeConverter.cs (1)
472return list[index];
System\ComponentModel\TypeDescriptor.cs (6)
444WeakReference r = (WeakReference)associations[idx]!; 582if (ShouldHideMember((MemberDescriptor?)members[idx], attributes[attrIdx])) 599newMembers.Add(members[validIdx]); 605newMembers?.Add(members[idx]); 637WeakReference weakRef = (WeakReference)associations[idx]!; 2643WeakReference weakRef = (WeakReference)associations[idx]!;
System.ObjectModel (1)
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (1)
296get => _list[index];
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (12)
737get => _list[index]; 775int r = comparer.Compare(value, _list[mid]); 834array.SetValue(_list[i], arrayIndex++); 872if (_list[i] == null) 879if (_list[i] is object o && o.Equals(value)) 940if (_list[i] == null) 947if (_list[i] is object o && o.Equals(value)) 996object? tmp = _list[i]; 997_list[i++] = _list[j]; 1500return _list[index]; 1607get => _list[index]; 1866get => _list[index];
System.Private.DataContractSerialization (1)
src\libraries\Common\src\System\CodeDom\CodeTypeReferenceCollection.cs (1)
32get { return ((CodeTypeReference)(List[index]!)); }
System.Private.Windows.Core (1)
System\Collections\Generic\ListConverter.cs (1)
26public TOut this[int index] => _converter((TIn)_values[index]!);
System.Private.Xml (11)
System\Xml\Schema\XmlSchemaObjectCollection.cs (1)
25get { return (XmlSchemaObject)List[index]!; }
System\Xml\Schema\XmlValueConverter.cs (2)
3044arrDst[i] = (T)this.atomicConverter!.ChangeType(listSrc[i]!, typeof(T), nsResolver); 3072arrDst[i] = this.atomicConverter!.ChangeType(listSrc[i]!, ObjectType, nsResolver);
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (1)
161object? ai = arr[i];
System\Xml\Serialization\XmlAnyElementAttributes.cs (1)
21get { return (XmlAnyElementAttribute?)List[index]; }
System\Xml\Serialization\XmlArrayItemAttributes.cs (1)
21get { return (XmlArrayItemAttribute?)List[index]; }
System\Xml\Serialization\XmlElementAttributes.cs (1)
21get { return (XmlElementAttribute?)List[index]; }
System\Xml\Serialization\XmlSchemas.cs (1)
35get { return (XmlSchema)List[index]!; }
System\Xml\XPath\Internal\XPathArrayIterator.cs (1)
60return (XPathNavigator?)list[index - 1];
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
611seq.Add(EnsureNavigator(list[i]));
System\Xml\Xsl\XsltOld\ActionFrame.cs (1)
328return ((SortKey)this.list[this.index - 1]!).Node;
System.Text.Json (2)
System\Text\Json\Serialization\Converters\Collection\IListConverter.cs (2)
52elementConverter.Write(writer, list[index], options); 59object? element = list[index];
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (2)
549if (selectedItem != null && RibbonGallery.VerifyEqual(selectedItem, e.OldItems[i])) 556if (highlightedItem != null && RibbonGallery.VerifyEqual(highlightedItem, e.OldItems[i]))
System.Windows.Forms (10)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
1421item = DataManager.List[index]; 1429object? itemTmp = DataManager.List[i];
System\Windows\Forms\Controls\ListControl\ListControl.cs (2)
498found = string.Compare(str, GetItemText(items[index]), ignoreCase, CultureInfo.CurrentCulture) == 0; 502found = string.Compare(str, 0, GetItemText(items[index]), 0, str.Length, ignoreCase, CultureInfo.CurrentCulture) == 0;
System\Windows\Forms\DataBinding\BindingSource.cs (1)
1525get => List[index];
System\Windows\Forms\DataBinding\CurrencyManager.cs (5)
261return _list[index]; 301object? item = (Position >= 0 && Position < _list.Count) ? _list[Position] : null; 474object? item = (Position >= 0 && Position < _list.Count) ? _list[Position] : null; 568object? value = property.GetValue(_list[i]); 845object? item = _list[Position];
System.Windows.Forms.Design (12)
System\ComponentModel\Design\DataSourceDescriptorCollection.cs (1)
28get => List[index] as DataSourceDescriptor;
System\ComponentModel\Design\DataSourceGroupCollection.cs (1)
28get => List[index] as DataSourceGroup;
System\ComponentModel\Design\DesignerActionItemCollection.cs (1)
12get => (DesignerActionItem)List[index]!;
System\ComponentModel\Design\DesignerActionListCollection.cs (1)
21get => (DesignerActionList?)List[index];
System\Windows\Forms\Design\Behavior\AdornerCollection.cs (1)
61return ((Adorner)(List[index]!));
System\Windows\Forms\Design\Behavior\GlyphCollection.cs (1)
41get => (Glyph)List[index]!;
System\Windows\Forms\Design\DataSourceDescriptorCollection.cs (1)
48return (DataSourceDescriptor)List[index]!;
System\Windows\Forms\Design\DataSourceGroupCollection.cs (1)
46get => (DataSourceGroup)List[index]!;
System\Windows\Forms\Design\ListAdapter.cs (1)
22get => (T?)_list[index] ?? throw new InvalidOperationException();
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (3)
1056EditorItem editorItem = (EditorItem)List[i]!; 1086EditorItem editorItem = (EditorItem)List[fromIndex]!; 1187object item = List[index];
System.Windows.Forms.Tests (20)
System\Windows\Forms\ColumnHeaderCollectionTests.cs (1)
86Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index]);
System\Windows\Forms\DataGridViewSelectedCellCollectionTests.cs (2)
245Assert.Throws<ArgumentOutOfRangeException>("index", () => iList[index]); 265Assert.Throws<ArgumentOutOfRangeException>("index", () => iList[index]);
System\Windows\Forms\DataGridViewSelectedColumnCollectionTests.cs (2)
273Assert.Throws<ArgumentOutOfRangeException>("index", () => iList[index]); 297Assert.Throws<ArgumentOutOfRangeException>("index", () => iList[index]);
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (2)
238Assert.Throws<ArgumentOutOfRangeException>("index", () => iList[index]); 257Assert.Throws<ArgumentOutOfRangeException>("index", () => iList[index]);
System\Windows\Forms\ListBox.IntegerCollectionTests.cs (2)
1537Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index]); 1551Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index]);
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (2)
6928Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index]); 6942Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index]);
System\Windows\Forms\ListViewGroupCollectionTests.cs (1)
210Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index]);
System\Windows\Forms\ListViewSubItemCollectionTests.cs (2)
123Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index]); 150Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index]);
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (6)
3739Assert.Throws<ArgumentOutOfRangeException>("index", () => iList[index]); 3753Assert.Throws<ArgumentOutOfRangeException>("index", () => iList[index]); 3774Assert.Same(newPage, iList[index]); 3818Assert.Same(newPage, iList[index]); 3857Assert.Same(newPage, iList[index]); 3912Assert.Same(newPage, iList[index]);
Test.Utilities (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];
Text.Analyzers (1)
src\Dependencies\Collections\Internal\IListCalls.cs (1)
24=> list[index];