3 interfaces inheriting from ICollection
System.Private.CoreLib (3)
180 implementations of ICollection
dotnet-svcutil-lib (6)
GenerateDocumentationAndConfigFiles (7)
Microsoft.Build (8)
Microsoft.Build.Framework (2)
Microsoft.CodeAnalysis (7)
Microsoft.CodeAnalysis.Analyzers (7)
Microsoft.CodeAnalysis.AnalyzerUtilities (7)
Microsoft.CodeAnalysis.CodeStyle (7)
Microsoft.CodeAnalysis.Extensions.Package (7)
Microsoft.CodeAnalysis.ResxSourceGenerator (7)
Microsoft.CodeAnalysis.Workspaces (7)
Microsoft.VisualBasic.Core (1)
PresentationCore (3)
PresentationFramework (3)
System\Windows\Controls\MultipleCopiesCollection.cs (1)
19ICollection,
Roslyn.Diagnostics.Analyzers (7)
System.CodeDom (1)
System.Collections (8)
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 (2)
System.Diagnostics.EventLog (1)
System.DirectoryServices (2)
System.DirectoryServices.AccountManagement (2)
System.Drawing.Common (4)
System.Management (4)
System.Net.Primitives (1)
System.Private.CoreLib (12)
src\runtime\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)
UIAutomationClient (1)
2480 references to ICollection
dotnet-svcutil-lib (136)
GenerateDocumentationAndConfigFiles (74)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (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.NewtonsoftJson (5)
src\aspnetcore\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.ViewFeatures (4)
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
Microsoft.Build (85)
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\SegmentedArray`1.cs (1)
124int ICollection.Count => Length;
Microsoft.Build.Framework (23)
Microsoft.Build.Tasks.Core (1)
Microsoft.Build.Utilities.Core (1)
Microsoft.CodeAnalysis (71)
Microsoft.CodeAnalysis.Analyzers (74)
Microsoft.CodeAnalysis.AnalyzerUtilities (75)
Microsoft.CodeAnalysis.CodeStyle (71)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.Extensions.Package (71)
Microsoft.CodeAnalysis.ResxSourceGenerator (74)
Microsoft.CodeAnalysis.Scripting (3)
Microsoft.CodeAnalysis.Workspaces (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.NET.Sdk.BlazorWebAssembly.Tasks (1)
Microsoft.NET.Sdk.Publish.Tasks (2)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (2)
Microsoft.VisualBasic.Core (5)
Mono.Cecil (4)
MSBuild (1)
mscorlib (1)
netstandard (1)
PresentationBuildTasks (3)
PresentationCore (252)
PresentationFramework (194)
Roslyn.Diagnostics.Analyzers (74)
Shared (1)
Shared.Tests (2)
System.CodeDom (8)
System.Collections (58)
System.Collections.Concurrent (25)
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)
739ICollection results = typeDesc.GetAttributes();
758ICollection extResults = extDesc.GetAttributes();
776ICollection extResults = extDesc.GetAttributes();
1214ICollection results;
1234ICollection extResults = extDesc.GetEvents(attributes);
1252ICollection extResults = extDesc.GetEvents(attributes);
1471ICollection results;
1491ICollection extResults = noAttributes ? extDesc.GetProperties() : extDesc.GetProperties(attributes);
1509ICollection extResults = noAttributes ? extDesc.GetProperties() : extDesc.GetProperties(attributes);
1564ICollection results;
1579ICollection extResults = extDesc.GetPropertiesFromRegisteredType();
1883private static ICollection PipelineAttributeFilter(int pipelineType, ICollection members, Attribute[]? filter, IDictionary? cache)
1921ICollection cacheValue;
1958private static ICollection PipelineFilter(int pipelineType, ICollection members, object instance, IDictionary? cache)
2092ICollection cacheValue;
2153private static ICollection PipelineInitialize(int pipelineType, ICollection members, IDictionary? cache)
2159if (cache[s_pipelineInitializeKeys[pipelineType]] is ICollection cachedMembers && cachedMembers.Count == members.Count)
2193private static ICollection PipelineMerge(int pipelineType, ICollection primary, ICollection secondary, IDictionary? cache)
2202if (cache?[s_pipelineMergeKeys[pipelineType]] is ICollection mergeCache && mergeCache.Count == (primary.Count + secondary.Count))
2254ICollection cacheValue;
2970internal readonly ICollection FilteredMembers;
2972internal AttributeFilterCacheItem(Attribute[] filter, ICollection filteredMembers)
3001internal readonly ICollection FilteredMembers;
3003internal FilterCacheItem(ITypeDescriptorFilterService filterService, ICollection filteredMembers)
System.Configuration.ConfigurationManager (15)
System.Data.Common (26)
System.Data.Odbc (11)
System.Data.OleDb (14)
System.Diagnostics.EventLog (4)
System.Diagnostics.PerformanceCounter (5)
System.Diagnostics.Process (4)
System.Diagnostics.TraceSource (5)
System.DirectoryServices (34)
System.DirectoryServices.AccountManagement (36)
System.DirectoryServices.Protocols (2)
System.Drawing.Common (21)
System.Linq (9)
System.Linq.Expressions (3)
System.Net.Http (1)
System.Net.Http.WinHttpHandler (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 (107)
src\runtime\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)
890public override void InsertRange(int index, ICollection c)
1002public override void SetRange(int index, ICollection c)
1211public override void AddRange(ICollection c)
1339public override void InsertRange(int index, ICollection c)
1403public override void SetRange(int index, ICollection c)
1693public override void AddRange(ICollection c)
1766public override void InsertRange(int index, ICollection c)
1801public override void SetRange(int index, ICollection c)
1947public override void AddRange(ICollection c)
2021public override void InsertRange(int index, ICollection c)
2056public override void SetRange(int index, ICollection c)
2199public override void AddRange(ICollection c)
2396public override void InsertRange(int index, ICollection c)
2481public 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 (2)
System.Security.Cryptography (7)
System.Security.Cryptography.Pkcs (2)
System.Security.Permissions (1)
System.ServiceModel.Primitives (8)
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.Primitives (5)
System.Xaml (11)
System\Xaml\XamlObjectReader.cs (9)
1224private void AddFactoryMethodAndValidateArguments(Type valueType, MemberInfo memberInfo, ICollection arguments, SerializerContext context, out ParameterInfo[] methodParams)
1300private void AddArgumentsMembers(ICollection arguments, SerializerContext context)
1323private bool TryAddPositionalParameters(XamlType xamlType, MemberInfo member, ICollection arguments, SerializerContext context)
1394private bool TryGetInstanceDescriptorInfo(object value, SerializerContext context, TypeConverter converter, out MemberInfo member, out ICollection arguments, out bool isComplete)
1412out MemberInfo member, out ICollection arguments, out bool isComplete)
1422private bool TryGetDefaultConstructorInfo(XamlType type, out MemberInfo member, out ICollection arguments, out bool isComplete)
1517ICollection arguments = null;
1552ICollection instanceDescriptorArguments = arguments;
1609private void GetConstructorInfo(object value, XamlType valueXamlType, SerializerContext context, out MemberInfo member, out ICollection arguments, out bool isComplete)
UIAutomationClient (1)
WindowsFormsIntegration (2)