3 interfaces inheriting from ICollection
System.Private.CoreLib (3)
156 implementations of ICollection
dotnet-svcutil-lib (6)
Microsoft.Build (3)
Microsoft.Build.Framework (6)
Microsoft.Build.Tasks.Core (2)
Microsoft.Build.Utilities.Core (1)
Microsoft.CodeAnalysis (7)
Microsoft.CodeAnalysis.CodeStyle (7)
Microsoft.CodeAnalysis.Collections.Package (7)
Microsoft.CodeAnalysis.Workspaces (7)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (7)
Microsoft.VisualBasic.Core (1)
MSBuild (1)
MSBuildTaskHost (1)
PresentationCore (3)
PresentationFramework (3)
System\Windows\Controls\MultipleCopiesCollection.cs (1)
20ICollection,
System.CodeDom (1)
System.Collections (9)
System.Collections.Concurrent (1)
System.Collections.Immutable (6)
System.Collections.NonGeneric (3)
System.Collections.Specialized (3)
System.ComponentModel.TypeConverter (5)
System.Configuration.ConfigurationManager (7)
System.Data.Common (2)
System.Data.Odbc (1)
System.Data.OleDb (1)
System.Diagnostics.EventLog (1)
System.DirectoryServices (3)
System.DirectoryServices.AccountManagement (2)
System.Drawing.Common (4)
System.Management (4)
System.Net.Primitives (1)
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (1)
21ICollection,
System.Private.Xml (4)
System.Security.AccessControl (2)
System.Security.Cryptography (5)
System.Security.Cryptography.Pkcs (4)
System.Security.Cryptography.Xml (1)
System.Security.Permissions (2)
System.Windows.Forms (8)
System.Windows.Forms.Design (1)
System.Windows.Forms.Primitives (1)
System.Xaml.Tests (1)
UIAutomationClient (1)
2282 references to ICollection
DesignSurfaceExt (5)
dotnet-svcutil-lib (136)
InteropClient (1)
Microsoft.AspNetCore.Mvc.Core (5)
Infrastructure\AsyncEnumerableReader.cs (5)
34private readonly ConcurrentDictionary<Type, Func<object, CancellationToken, Task<ICollection>>?> _asyncEnumerableConverters = new();
52public bool TryGetReader(Type type, [NotNullWhen(true)] out Func<object, CancellationToken, Task<ICollection>>? reader)
67var converter = (Func<object, CancellationToken, Task<ICollection>>)Converter
69.CreateDelegate(typeof(Func<object, CancellationToken, Task<ICollection>>), this);
79private async Task<ICollection> ReadInternal<T>(object value, CancellationToken cancellationToken)
Microsoft.AspNetCore.Mvc.Core.Test (3)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (5)
src\Mvc\Mvc.Core\src\Infrastructure\AsyncEnumerableReader.cs (5)
34private readonly ConcurrentDictionary<Type, Func<object, CancellationToken, Task<ICollection>>?> _asyncEnumerableConverters = new();
52public bool TryGetReader(Type type, [NotNullWhen(true)] out Func<object, CancellationToken, Task<ICollection>>? reader)
67var converter = (Func<object, CancellationToken, Task<ICollection>>)Converter
69.CreateDelegate(typeof(Func<object, CancellationToken, Task<ICollection>>), this);
79private async Task<ICollection> ReadInternal<T>(object value, CancellationToken cancellationToken)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (3)
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
Microsoft.Build (33)
Microsoft.Build.Engine.UnitTests (7)
Microsoft.Build.Framework (65)
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
Microsoft.Build.Tasks.Core (18)
Microsoft.Build.Tasks.UnitTests (1)
Microsoft.Build.UnitTests.Shared (1)
Microsoft.Build.Utilities.Core (16)
Microsoft.CodeAnalysis (71)
Microsoft.CodeAnalysis.CodeStyle (71)
Microsoft.CodeAnalysis.Collections.Package (70)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.Scripting (3)
Microsoft.CodeAnalysis.Scripting.TestUtilities (2)
Microsoft.CodeAnalysis.UnitTests (46)
Microsoft.CodeAnalysis.Workspaces (71)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (71)
Microsoft.CSharp (1)
Microsoft.Extensions.Compliance.Redaction (1)
Microsoft.Extensions.Diagnostics.Probes (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Extensions.FileSystemGlobbing (1)
Microsoft.Extensions.Http.Resilience (1)
Microsoft.Extensions.Telemetry (1)
Microsoft.Maui.Controls (9)
Microsoft.VisualBasic.Core (5)
MSBuild (16)
MSBuildTaskHost (19)
mscorlib (1)
netstandard (1)
PresentationBuildTasks (3)
PresentationCore (252)
PresentationFramework (194)
Shared (1)
Shared.Tests (2)
System.CodeDom (8)
System.Collections (57)
System.Collections.Concurrent (42)
System.Collections.Immutable (109)
System.Collections.NonGeneric (14)
System.Collections.Specialized (26)
System.ComponentModel.Annotations (1)
System.ComponentModel.Composition (1)
System.ComponentModel.TypeConverter (80)
System\ComponentModel\TypeDescriptor.cs (29)
730ICollection results = typeDesc.GetAttributes();
749ICollection extResults = extDesc.GetAttributes();
767ICollection extResults = extDesc.GetAttributes();
1205ICollection results;
1225ICollection extResults = extDesc.GetEvents(attributes);
1243ICollection extResults = extDesc.GetEvents(attributes);
1462ICollection results;
1482ICollection extResults = noAttributes ? extDesc.GetProperties() : extDesc.GetProperties(attributes);
1500ICollection extResults = noAttributes ? extDesc.GetProperties() : extDesc.GetProperties(attributes);
1555ICollection results;
1570ICollection extResults = extDesc.GetPropertiesFromRegisteredType();
1874private static ICollection PipelineAttributeFilter(int pipelineType, ICollection members, Attribute[]? filter, IDictionary? cache)
1912ICollection cacheValue;
1949private static ICollection PipelineFilter(int pipelineType, ICollection members, object instance, IDictionary? cache)
2083ICollection cacheValue;
2144private static ICollection PipelineInitialize(int pipelineType, ICollection members, IDictionary? cache)
2150if (cache[s_pipelineInitializeKeys[pipelineType]] is ICollection cachedMembers && cachedMembers.Count == members.Count)
2184private static ICollection PipelineMerge(int pipelineType, ICollection primary, ICollection secondary, IDictionary? cache)
2193if (cache?[s_pipelineMergeKeys[pipelineType]] is ICollection mergeCache && mergeCache.Count == (primary.Count + secondary.Count))
2245ICollection cacheValue;
2972internal readonly ICollection FilteredMembers;
2974internal AttributeFilterCacheItem(Attribute[] filter, ICollection filteredMembers)
3003internal readonly ICollection FilteredMembers;
3005internal FilterCacheItem(ITypeDescriptorFilterService filterService, ICollection filteredMembers)
System.Configuration.ConfigurationManager (15)
System.Data.Common (26)
System.Data.Odbc (11)
System.Data.OleDb (3)
System.Diagnostics.EventLog (3)
System.Diagnostics.PerformanceCounter (4)
System.Diagnostics.Process (4)
System.Diagnostics.TraceSource (5)
System.DirectoryServices (14)
System.DirectoryServices.AccountManagement (8)
System.DirectoryServices.Protocols (2)
System.Drawing.Common (16)
System.Drawing.Common.Tests (2)
System.Linq (9)
System.Linq.Expressions (3)
System.Net.Http (1)
System.Net.HttpListener (22)
System.Net.Mail (1)
System.Net.NameResolution (1)
System.Net.Primitives (3)
System.Net.Quic (1)
System.Net.Requests (1)
System.Net.Security (3)
System.Net.Sockets (1)
System.Net.WebProxy (4)
System.Net.WebSockets (1)
System.Private.CoreLib (91)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (19)
51public ArrayList(ICollection c)
165public virtual void AddRange(ICollection c)
404public virtual void InsertRange(int index, ICollection c)
589public virtual void SetRange(int index, ICollection c)
754public override void AddRange(ICollection c)
891public override void InsertRange(int index, ICollection c)
1003public override void SetRange(int index, ICollection c)
1212public override void AddRange(ICollection c)
1340public override void InsertRange(int index, ICollection c)
1404public override void SetRange(int index, ICollection c)
1694public override void AddRange(ICollection c)
1767public override void InsertRange(int index, ICollection c)
1802public override void SetRange(int index, ICollection c)
1948public override void AddRange(ICollection c)
2022public override void InsertRange(int index, ICollection c)
2057public override void SetRange(int index, ICollection c)
2200public override void AddRange(ICollection c)
2397public override void InsertRange(int index, ICollection c)
2482public override void SetRange(int index, ICollection c)
System.Private.DataContractSerialization (13)
System.Private.Xml (51)
System.Runtime (1)
System.Runtime.Serialization.Schema (1)
System.Security.AccessControl (1)
System.Security.Cryptography (7)
System.Security.Cryptography.Pkcs (2)
System.Security.Permissions (1)
System.ServiceModel.Primitives (3)
System.Text.Json (1)
System.Text.RegularExpressions (1)
System.Threading.Tasks.Parallel (2)
System.Windows.Forms (149)
System.Windows.Forms.Design (157)
System.Windows.Forms.Design.Tests (20)
System.Windows.Forms.Primitives (5)
System.Windows.Forms.Tests (33)
System.Windows.Forms.UI.IntegrationTests (1)
System.Xaml (11)
System\Xaml\XamlObjectReader.cs (9)
1225void AddFactoryMethodAndValidateArguments(Type valueType, MemberInfo memberInfo, ICollection arguments, SerializerContext context, out ParameterInfo[] methodParams)
1301void AddArgumentsMembers(ICollection arguments, SerializerContext context)
1324bool TryAddPositionalParameters(XamlType xamlType, MemberInfo member, ICollection arguments, SerializerContext context)
1395bool TryGetInstanceDescriptorInfo(object value, SerializerContext context, TypeConverter converter, out MemberInfo member, out ICollection arguments, out bool isComplete)
1413out MemberInfo member, out ICollection arguments, out bool isComplete)
1423bool TryGetDefaultConstructorInfo(XamlType type, out MemberInfo member, out ICollection arguments, out bool isComplete)
1518ICollection arguments = null;
1553ICollection instanceDescriptorArguments = arguments;
1610void GetConstructorInfo(object value, XamlType valueXamlType, SerializerContext context, out MemberInfo member, out ICollection arguments, out bool isComplete)
System.Xaml.Tests (3)
UIAutomationClient (1)
WindowsFormsIntegration (2)