5 instantiations of BitVector
Microsoft.CodeAnalysis.Workspaces (5)
src\Compilers\Core\Portable\Collections\BitVector.cs (5)
25private static readonly BitVector s_emptyValue = new(0, s_emptyArray, 0); 156return new BitVector(bits0, bits, capacity); 166return new BitVector(0, bits, capacity); 206return new BitVector(bits0, bits, capacity); 225return new BitVector(_bits0, newBits, _capacity);
17 references to BitVector
Microsoft.CodeAnalysis.Workspaces (17)
src\Compilers\Core\Portable\Collections\BitVector.cs (17)
14internal struct BitVector : IEquatable<BitVector> 24private static readonly BitVector s_nullValue = default; 25private static readonly BitVector s_emptyValue = new(0, s_emptyArray, 0); 41public bool Equals(BitVector other) 52return obj is BitVector other && Equals(other); 55public static bool operator ==(BitVector left, BitVector right) 60public static bool operator !=(BitVector left, BitVector right) 154public static BitVector FromWords(Word bits0, Word[] bits, int capacity) 162public static BitVector Create(int capacity) 174public static BitVector AllSet(int capacity) 213public BitVector Clone() 254public static BitVector Null => s_nullValue; 256public static BitVector Empty => s_emptyValue; 263public bool IntersectWith(in BitVector other) 315public bool UnionWith(in BitVector other)