3 interfaces inheriting from ICollection
System.Private.CoreLib (3)
248 implementations of ICollection
Analyzer.Utilities.UnitTests (1)
dotnet-svcutil-lib (6)
GenerateDocumentationAndConfigFiles (7)
Metrics (7)
Metrics.Legacy (7)
Microsoft.CodeAnalysis (7)
Microsoft.CodeAnalysis.Analyzers (7)
Microsoft.CodeAnalysis.AnalyzerUtilities (7)
Microsoft.CodeAnalysis.BannedApiAnalyzers (7)
Microsoft.CodeAnalysis.CodeStyle (7)
Microsoft.CodeAnalysis.Collections.Package (7)
Microsoft.CodeAnalysis.Extensions.Package (7)
Microsoft.CodeAnalysis.InteractiveHost (7)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (7)
Microsoft.CodeAnalysis.PublicApiAnalyzers (7)
Microsoft.CodeAnalysis.ResxSourceGenerator (7)
Microsoft.CodeAnalysis.Threading.Package (7)
Microsoft.CodeAnalysis.Workspaces (7)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (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 (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 (11)
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)
Test.Utilities (7)
Text.Analyzers (7)
UIAutomationClient (1)
3239 references to ICollection
DemoConsole (5)
dotnet-svcutil-lib (136)
GenerateDocumentationAndConfigFiles (74)
InteropClient (1)
Metrics (74)
Metrics.Legacy (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.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.Framework (3)
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis (71)
Microsoft.CodeAnalysis.Analyzers (74)
Microsoft.CodeAnalysis.AnalyzerUtilities (75)
Microsoft.CodeAnalysis.BannedApiAnalyzers (74)
Microsoft.CodeAnalysis.CodeStyle (71)
Microsoft.CodeAnalysis.Collections.Package (71)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.Extensions.Package (71)
Microsoft.CodeAnalysis.InteractiveHost (71)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (74)
Microsoft.CodeAnalysis.PublicApiAnalyzers (74)
Microsoft.CodeAnalysis.ResxSourceGenerator (74)
Microsoft.CodeAnalysis.Scripting (3)
Microsoft.CodeAnalysis.Scripting.TestUtilities (2)
Microsoft.CodeAnalysis.Threading.Package (71)
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)
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 (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 (21)
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 (109)
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 (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.Design.Tests (25)
System.Windows.Forms.Primitives (5)
System.Windows.Forms.Tests (42)
System.Windows.Forms.UI.IntegrationTests (1)
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)
System.Xaml.Tests (3)
Test.Utilities (74)
Text.Analyzers (74)
UIAutomationClient (1)
WindowsFormsIntegration (2)