3 overrides of Count
Microsoft.CodeAnalysis.Workspaces (3)
ImmutableHashMap.cs (3)
629internal override int Count => 1; 706internal override int Count => _buckets.Length; 860internal override int Count => _count;
7 references to Count
Microsoft.CodeAnalysis.Workspaces (7)
ImmutableHashMap.cs (7)
267get { return _root != null ? _root.Count : 0; } 516return root.Count == 0 ? this.Clear() : new ImmutableHashMap<TKey, TValue>(root, _keyComparer, _valueComparer); 877return new HashBucket(_hashRoll, _used, newBuckets, _count - existing.Count + added.Count); 913return new HashBucket(_hashRoll, RemoveBit(logicalSlot, _used), _buckets.RemoveAt(physicalSlot), _count - existing.Count); 918return new HashBucket(_hashRoll, _used, _buckets.ReplaceAt(physicalSlot, result), _count - existing.Count + result.Count);