5 interfaces inheriting from IList
Microsoft.Maui.Controls (1)
System.ComponentModel.TypeConverter (1)
System.Data.Common (3)
276 implementations of IList
dotnet-svcutil-lib (4)
GenerateDocumentationAndConfigFiles (5)
Metrics (5)
Metrics.Legacy (5)
Microsoft.Build.Framework (5)
Microsoft.CodeAnalysis (5)
Microsoft.CodeAnalysis.Analyzers (5)
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
Microsoft.CodeAnalysis.BannedApiAnalyzers (5)
Microsoft.CodeAnalysis.CodeStyle (5)
Microsoft.CodeAnalysis.Collections.Package (5)
Microsoft.CodeAnalysis.Extensions.Package (5)
Microsoft.CodeAnalysis.InteractiveHost (5)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (5)
Microsoft.CodeAnalysis.PublicApiAnalyzers (5)
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
Microsoft.CodeAnalysis.Threading.Package (5)
Microsoft.CodeAnalysis.Workspaces (5)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
Microsoft.Maui.Controls (3)
Microsoft.VisualBasic.Core (1)
PresentationCore (56)
PresentationFramework (19)
System\Windows\Controls\MultipleCopiesCollection.cs (1)
18IList,
Roslyn.Diagnostics.Analyzers (5)
System.CodeDom (1)
System.Collections (3)
System.Collections.Immutable (5)
System.Collections.NonGeneric (3)
System.Collections.Specialized (2)
System.ComponentModel.TypeConverter (4)
System.Diagnostics.TraceSource (1)
System.DirectoryServices (1)
System.DirectoryServices.AccountManagement (1)
System.Linq.Expressions (1)
System.ObjectModel (2)
System.Private.CoreLib (9)
System.Private.Xml (2)
System.Security.Cryptography.Xml (3)
System.ServiceModel.Primitives (1)
System.Text.RegularExpressions (3)
System.Windows.Forms (40)
System.Windows.Forms.Design (3)
System.Windows.Forms.Primitives (1)
System.Windows.Forms.Tests (1)
System.Xaml.Tests (1)
Test.Utilities (5)
Text.Analyzers (5)
4124 references to IList
BinaryFormatTests (7)
dotnet-svcutil-lib (72)
GenerateDocumentationAndConfigFiles (65)
InMemory.FunctionalTests (2)
InteropClient (2)
Metrics (65)
Metrics.Legacy (65)
Microsoft.AspNetCore.Grpc.JsonTranscoding (13)
Microsoft.AspNetCore.Grpc.Swagger (3)
Microsoft.AspNetCore.JsonPatch (15)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (8)
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (12)
Internal\ListAdapterTest.cs (12)
194public static TheoryData<IList, object, string, IList> AddingDifferentComplexTypeWorksData
198return new TheoryData<IList, object, string, IList>()
230public void Add_DifferentComplexTypeWorks(IList targetObject, object value, string position, IList expected)
246public static TheoryData<IList, object, string, IList> AddingKeepsObjectReferenceData
253return new TheoryData<IList, object, string, IList>()
285public void Add_KeepsObjectReference(IList targetObject, object value, string position, IList expected)
Microsoft.AspNetCore.JsonPatch.Tests (12)
Internal\ListAdapterTest.cs (12)
194public static TheoryData<IList, object, string, IList> AddingDifferentComplexTypeWorksData
198return new TheoryData<IList, object, string, IList>()
230public void Add_DifferentComplexTypeWorks(IList targetObject, object value, string position, IList expected)
246public static TheoryData<IList, object, string, IList> AddingKeepsObjectReferenceData
253return new TheoryData<IList, object, string, IList>()
285public void Add_KeepsObjectReference(IList targetObject, object value, string position, IList expected)
Microsoft.AspNetCore.Mvc.Core (4)
Microsoft.Build.Framework (70)
Microsoft.CodeAnalysis (70)
Microsoft.CodeAnalysis.Analyzers (65)
Microsoft.CodeAnalysis.AnalyzerUtilities (65)
Microsoft.CodeAnalysis.BannedApiAnalyzers (65)
Microsoft.CodeAnalysis.CodeStyle (65)
Microsoft.CodeAnalysis.Collections.Package (65)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.Features (3)
Microsoft.CodeAnalysis.Extensions.Package (65)
Microsoft.CodeAnalysis.Features (4)
Microsoft.CodeAnalysis.InteractiveHost (65)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (65)
Microsoft.CodeAnalysis.PublicApiAnalyzers (65)
Microsoft.CodeAnalysis.ResxSourceGenerator (65)
Microsoft.CodeAnalysis.Threading.Package (65)
Microsoft.CodeAnalysis.UnitTests (122)
Collections\ImmutableListTestBase.cs (13)
24protected static readonly Func<IList, object?, object> IndexOfFunc = (l, v) => l.IndexOf(v);
25protected static readonly Func<IList, object?, object> ContainsFunc = (l, v) => l.Contains(v);
26protected static readonly Func<IList, object?, object> RemoveFunc = (l, v) => { l.Remove(v); return l.Count; };
127Assert.Equal(((IList)list).Contains(i), hitTest[i]);
539protected void AssertIListBaselineBothDirections<T1, T2>(Func<IList, object?, object> operation, T1 item, T2 other)
547/// implementation of <see cref="IList"/> behave the same way <see cref="List{T}"/> does.
551/// The <see cref="IList"/> operation to perform.
552/// The function is provided with the <see cref="IList"/> implementation to test
555/// of the operation across <see cref="IList"/> implementations.
559protected void AssertIListBaseline<T>(Func<IList, object?, object> operation, T item, object? other)
561IList bclList = new List<T> { item };
562IList testedList = (IList)this.GetListQuery(ImmutableSegmentedList.Create(item));
Microsoft.CodeAnalysis.Workspaces (65)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (65)
Microsoft.CSharp (1)
Microsoft.Extensions.Configuration.Binder (1)
Microsoft.Maui (1)
Microsoft.Maui.Controls (67)
Internals\NotifyCollectionChangedEventArgsEx.cs (7)
19 public NotifyCollectionChangedEventArgsEx(int count, NotifyCollectionChangedAction action, IList changedItems) : base(action, changedItems)
25 public NotifyCollectionChangedEventArgsEx(int count, NotifyCollectionChangedAction action, IList newItems, IList oldItems) : base(action, newItems, oldItems)
31 public NotifyCollectionChangedEventArgsEx(int count, NotifyCollectionChangedAction action, IList newItems, IList oldItems, int startingIndex) : base(action, newItems, oldItems, startingIndex)
37 public NotifyCollectionChangedEventArgsEx(int count, NotifyCollectionChangedAction action, IList changedItems, int startingIndex) : base(action, changedItems, startingIndex)
43 public NotifyCollectionChangedEventArgsEx(int count, NotifyCollectionChangedAction action, IList changedItems, int index, int oldIndex) : base(action, changedItems, index, oldIndex)
TemplatedItemsList.cs (16)
272 int IList.Add(object item)
277 void IList.Clear()
282 bool IList.Contains(object item)
287 int IList.IndexOf(object item)
299 void IList.Insert(int index, object item)
304 bool IList.IsFixedSize
309 bool IList.IsReadOnly
314 object IList.this[int index]
326 void IList.Remove(object item)
331 void IList.RemoveAt(int index)
682 IList ConvertContent(int startingIndex, IList items, bool forceCreate = false, bool setIndex = false)
1016 IList items = ConvertContent(e.NewStartingIndex, e.NewItems, true, true);
1088 IList oldItems = ConvertContent(e.NewStartingIndex, e.OldItems);
1089 IList newItems = ConvertContent(e.NewStartingIndex, e.NewItems, true, true);
1302 List<string> ConvertItems(IList list)
Microsoft.Maui.Controls.Xaml (2)
Microsoft.ML.Core (4)
Microsoft.ML.Parquet (7)
Microsoft.VisualBasic.Core (10)
Microsoft.VisualStudio.LanguageServices (1)
mscorlib (1)
netstandard (1)
PresentationBuildTasks (9)
PresentationCore (379)
PresentationFramework (390)
MS\Internal\Data\CollectionViewGroupRoot.cs (4)
168internal void MoveWithinSubgroups(object item, LiveShapingItem lsi, IList list, int oldIndex, int newIndex)
573private void MoveWithinSubgroups(object item, CollectionViewGroupInternal group, int level, IList list, int oldIndex, int newIndex)
599private void MoveWithinSubgroup(object item, CollectionViewGroupInternal group, int level, object name, IList list, int oldIndex, int newIndex)
640private void MoveWithinSubgroup(object item, CollectionViewGroupInternal group, IList list, int oldIndex, int newIndex)
System\Windows\Controls\VirtualizingStackPanel.cs (30)
1628IList items = generator.ItemsInternal;
2224IList children = RealizedChildren; // yes, this is weird, but this property ensures the Generator is properly initialized.
2226IList items = ((ItemContainerGenerator)generator).ItemsInternal;
3342IList children = RealizedChildren; // yes, this is weird, but this property ensures the Generator is properly initialized.
3344IList items = ((ItemContainerGenerator)generator).ItemsInternal;
3790IList children = RealizedChildren;
3792IList items = ((ItemContainerGenerator)generator).ItemsInternal;
5492IList items,
5638IList items,
5735IList children,
5736IList items,
5891IList items,
5956IList items,
6827IList children = childItemsHost.InternalChildren;
7428IList children,
7429IList items,
7578IList children,
7579IList items,
8062ref IList items,
8063ref IList children,
8144ref IList items,
8146ref IList children,
8566IList items,
8897IList children = RealizedChildren;
9046IList children = RealizedChildren;
9435private void CleanupRange(IList children, IItemContainerGenerator generator, int startIndex, int count)
10989IList items = generator.ItemsInternal;
11014IList items = null;
11243private double GetMaxChildArrangeLength(IList children, bool isHorizontal)
11557private IList RealizedChildren
PresentationFramework-SystemData (1)
Roslyn.Diagnostics.Analyzers (65)
System.CodeDom (10)
System.Collections (28)
System.Collections.Immutable (90)
System.Collections.NonGeneric (14)
System.Collections.Specialized (18)
System.ComponentModel.Composition (4)
System.ComponentModel.Primitives (1)
System.ComponentModel.TypeConverter (63)
System.Configuration.ConfigurationManager (1)
System.Data.Common (55)
System\Data\Common\DbParameterCollection.cs (25)
38object? IList.this[int index]
63/// For a description of this member, see <see cref="IList.Add" />.
65/// <param name="value">For a description of this member, see <see cref="IList.Add" />.</param>
66/// <returns>For a description of this member, see <see cref="IList.Add" />.</returns>
70/// <see cref="IList" /> interface.
72int IList.Add(object? value) => Add(value!);
79/// For a description of this member, see <see cref="IList.Contains" />.
81/// <param name="value">For a description of this member, see <see cref="IList.Contains" />.</param>
82/// <returns>For a description of this member, see <see cref="IList.Contains" />.</returns>
86/// <see cref="IList" /> interface.
88bool IList.Contains(object? value) => Contains(value!);
106/// For a description of this member, see <see cref="IList.IndexOf" />.
108/// <param name="value">For a description of this member, see <see cref="IList.IndexOf" />.</param>
109/// <returns>For a description of this member, see <see cref="IList.IndexOf" />.</returns>
113/// <see cref="IList" /> interface.
115int IList.IndexOf(object? value) => IndexOf(value!);
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>
129/// <see cref="IList" /> interface.
131void IList.Insert(int index, object? value) => Insert(index, value!);
136/// For a description of this member, see <see cref="IList.Remove" />.
138/// <param name="value">For a description of this member, see <see cref="IList.Remove" />.</param>
142/// <see cref="IList" /> interface.
144void IList.Remove(object? value) => Remove(value!);
System.Data.Odbc (2)
System.Diagnostics.TraceSource (14)
System.DirectoryServices (8)
System.DirectoryServices.AccountManagement (10)
System.Linq (1)
System.Linq.Expressions (9)
System.Net.Security (4)
System.Net.Sockets (6)
System.ObjectModel (13)
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (13)
17private readonly IList? _newItems;
18private readonly IList? _oldItems;
89public NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, IList? changedItems) :
100public NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, IList? changedItems, int startingIndex)
176public NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, IList newItems, IList oldItems) :
188public NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, IList newItems, IList oldItems, int startingIndex)
231public NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, IList? changedItems, int index, int oldIndex)
253public IList? NewItems => _newItems;
258public IList? OldItems => _oldItems;
278private readonly IList _list;
280internal ReadOnlyList(IList list)
System.Private.CoreLib (51)
System.Private.DataContractSerialization (4)
System.Private.Windows.Core (6)
System\Private\Windows\BinaryFormat\Support\ListConverter.cs (1)
12IList values,
System.Private.Windows.Core.Tests (6)
System.Private.Xml (52)
System.Runtime (1)
System.Runtime.Serialization.Schema (3)
System.Security.Cryptography.Xml (15)
System.Security.Permissions (5)
System.ServiceModel.Primitives (8)
System.Text.Json (9)
System.Text.Json.SourceGeneration (1)
System.Text.RegularExpressions (27)
System.Windows.Controls.Ribbon (2)
System.Windows.Forms (433)
System.Windows.Forms.Design (94)
System.Windows.Forms.Design.Tests (26)
System.Windows.Forms.Primitives (16)
System.Windows.Forms.Primitives.Tests (6)
System.Windows.Forms.Tests (458)
System.Xaml (6)
System.Xaml.Tests (3)
Test.Utilities (65)
Text.Analyzers (65)
WindowsBase.Tests (10)
xunit.assert (1)