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