3 interfaces inheriting from ICollection
System.Private.CoreLib (3)
89 implementations of ICollection
AssemblyStripper (4)
Microsoft.Build (3)
Microsoft.Build.Engine (5)
Microsoft.Build.Framework (6)
Microsoft.Build.Tasks.Core (2)
Microsoft.Build.Utilities.Core (1)
Microsoft.VisualBasic.Core (1)
MSBuild (1)
MSBuildTaskHost (1)
PresentationCore (3)
PresentationFramework (3)
System\Windows\Controls\MultipleCopiesCollection.cs (1)
23ICollection,
System.Collections (9)
System.Collections.Concurrent (1)
System.Collections.Immutable (6)
System.Collections.NonGeneric (3)
System.Collections.Specialized (3)
System.ComponentModel.TypeConverter (5)
System.Data.Common (2)
System.DirectoryServices (3)
System.DirectoryServices.AccountManagement (2)
System.Management (4)
System.Net.Primitives (1)
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (1)
21ICollection,
System.Private.Xml (4)
System.Security.AccessControl (2)
System.Security.Cryptography (4)
UIAutomationClient (1)
1275 references to ICollection
AssemblyStripper (6)
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 (7)
Microsoft.Build.Engine.UnitTests (7)
Microsoft.Build.Framework (65)
Microsoft.Build.Tasks.Core (18)
Microsoft.Build.Tasks.UnitTests (1)
Microsoft.Build.UnitTests.Shared (1)
Microsoft.Build.Utilities.Core (16)
Microsoft.CSharp (1)
Microsoft.Extensions.FileSystemGlobbing (1)
Microsoft.VisualBasic.Core (5)
MSBuild (16)
MSBuildTaskHost (19)
mscorlib (1)
netstandard (1)
PresentationBuildTasks (3)
PresentationCore (252)
PresentationFramework (197)
System.Collections (43)
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)
725ICollection results = typeDesc.GetAttributes();
744ICollection extResults = extDesc.GetAttributes();
762ICollection extResults = extDesc.GetAttributes();
1200ICollection results;
1220ICollection extResults = extDesc.GetEvents(attributes);
1238ICollection extResults = extDesc.GetEvents(attributes);
1457ICollection results;
1477ICollection extResults = noAttributes ? extDesc.GetProperties() : extDesc.GetProperties(attributes);
1495ICollection extResults = noAttributes ? extDesc.GetProperties() : extDesc.GetProperties(attributes);
1550ICollection results;
1565ICollection extResults = extDesc.GetPropertiesFromRegisteredType();
1869private static ICollection PipelineAttributeFilter(int pipelineType, ICollection members, Attribute[]? filter, IDictionary? cache)
1907ICollection cacheValue;
1944private static ICollection PipelineFilter(int pipelineType, ICollection members, object instance, IDictionary? cache)
2078ICollection cacheValue;
2139private static ICollection PipelineInitialize(int pipelineType, ICollection members, IDictionary? cache)
2145if (cache[s_pipelineInitializeKeys[pipelineType]] is ICollection cachedMembers && cachedMembers.Count == members.Count)
2179private static ICollection PipelineMerge(int pipelineType, ICollection primary, ICollection secondary, IDictionary? cache)
2188if (cache?[s_pipelineMergeKeys[pipelineType]] is ICollection mergeCache && mergeCache.Count == (primary.Count + secondary.Count))
2240ICollection cacheValue;
2967internal readonly ICollection FilteredMembers;
2969internal AttributeFilterCacheItem(Attribute[] filter, ICollection filteredMembers)
2998internal readonly ICollection FilteredMembers;
3000internal FilterCacheItem(ITypeDescriptorFilterService filterService, ICollection filteredMembers)
System.Data.Common (26)
System.Diagnostics.Process (4)
System.Diagnostics.TraceSource (5)
System.DirectoryServices (14)
System.DirectoryServices.AccountManagement (8)
System.DirectoryServices.Protocols (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.Private.CoreLib (87)
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.Security.AccessControl (1)
System.Security.Cryptography (6)
System.Text.Json (1)
System.Text.RegularExpressions (1)
System.Threading.Tasks.Parallel (2)
System.Xaml (11)
System\Xaml\XamlObjectReader.cs (9)
1226void AddFactoryMethodAndValidateArguments(Type valueType, MemberInfo memberInfo, ICollection arguments, SerializerContext context, out ParameterInfo[] methodParams)
1303void AddArgumentsMembers(ICollection arguments, SerializerContext context)
1326bool 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)
1412out 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;
1607void GetConstructorInfo(object value, XamlType valueXamlType, SerializerContext context, out MemberInfo member, out ICollection arguments, out bool isComplete)
UIAutomationClient (1)
WindowsFormsIntegration (2)