Implemented interface members:
property
Count
System.Collections.Generic.ICollection<T>.Count
property
Count
System.Collections.Generic.IReadOnlyCollection<T>.Count
property
Count
System.Collections.ICollection.Count
20 references to Count
Microsoft.AspNetCore.Routing (3)
Matching\DfaMatcherBuilder.cs (3)
428var hasFailingPolicy = parent.Literals.Keys.Count < 32 ? 429(stackalloc bool[32]).Slice(0, parent.Literals.Keys.Count) : 430new bool[parent.Literals.Keys.Count];
Microsoft.CodeAnalysis.CSharp (1)
Compilation\MemberSemanticModel.NodeMapBuilder.cs (1)
55map.EnsureCapacity(map.Count + additionMap.Keys.Count);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
LexicalAndXml\XmlDocCommentTests.cs (1)
3395Assert.Equal(attributes.Keys.Count, xmlAttributes.Count);
Microsoft.CodeAnalysis.Workspaces (3)
FindSymbols\SymbolTree\SymbolTreeInfo.cs (2)
442Debug.Assert(_inheritanceMap.Keys.Count == other._inheritanceMap.Keys.Count);
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (1)
119writer.WriteInt32(_inheritanceMap.Keys.Count);
PresentationFramework (2)
MS\Internal\Annotations\AnnotationMap.cs (1)
87List<IAttachedAnnotation> result = new List<IAttachedAnnotation>(_annotationIdToAttachedAnnotations.Keys.Count);
System\Windows\Annotations\Storage\XmlStreamStore.cs (1)
467Uri[] res = new Uri[_predefinedNamespaces.Keys.Count];
RunTests (1)
TestHistoryManager.cs (1)
124ConsoleUtil.WriteLine($"Retrieved {testInfos.Keys.Count} tests from AzureDevops in {timer.Elapsed}. Total runtime of all tests is {totalTestRuntime}");
System.Net.HttpListener (2)
System\Net\Managed\HttpListener.Managed.cs (2)
221var all = new HttpListenerContext[keys.Count]; 231var conns = new HttpConnection[keys.Count];
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (1)
1946Count == 0 ? SZGenericArrayEnumerator<TKey>.Empty :
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (1)
5815var sortedStrings = new string[stringTab.Keys.Count];
System.Private.Windows.Core (1)
System\Private\Windows\Ole\DataStore.cs (1)
146string[] definedFormats = new string[_mappedData.Keys.Count];
System.Private.Xml (1)
System\Xml\Serialization\Compilation.cs (1)
445TypeScope[] scopes = new TypeScope[scopeTable.Keys.Count];
System.Windows.Forms (1)
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (1)
811string[] classNames = new string[t_themeHandles.Keys.Count];
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\SelectionUIService.cs (2)
425shapeChanged = _selectionItems.Keys.Count != newSelection.Keys.Count;