2 writes to _count
Microsoft.CodeAnalysis.CodeStyle (2)
5 references to _count
Microsoft.CodeAnalysis.CodeStyle (5)
ImmutableHashMap.cs (5)
860internal override int Count => _count;
877return new HashBucket(_hashRoll, _used, newBuckets, _count - existing.Count + added.Count);
889return new HashBucket(_hashRoll, newUsed, newBuckets, _count + bucket.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);