2 writes to _bitArray
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Utilities\BloomFilter.cs (2)
48
_bitArray
= new BitArray(length: sizeInEvenBytes);
71
_bitArray
= bitArray ?? throw new ArgumentNullException(nameof(bitArray));
8 references to _bitArray
Microsoft.CodeAnalysis.Workspaces (8)
Shared\Utilities\BloomFilter.cs (7)
324
_bitArray
[GetBitArrayIndexFromHash(hash)] = true;
330
hash %=
_bitArray
.Length;
339
_bitArray
[GetBitArrayIndexFromHash(hash)] = true;
355
if (!
_bitArray
[GetBitArrayIndexFromHash(hash)])
369
if (!
_bitArray
[GetBitArrayIndexFromHash(hash)])
380
return IsEquivalent(
_bitArray
, filter.
_bitArray
)
Shared\Utilities\BloomFilter_Serialization.cs (1)
22
WriteBitArray(writer,
_bitArray
);