5 instantiations of BitVector
Microsoft.CodeAnalysis.Workspaces (5)
src\roslyn\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);
24 references to BitVector
Microsoft.CodeAnalysis.Features (7)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (5)
6132
(GetAccessedCaptures(newLambdaBody1, newModel.RequiredModel, newInLambdaCaptures, newCapturesIndex, newLiftingPrimaryConstructor).Equals(
BitVector
.Empty) ||
6133
newLambdaBody2 != null && GetAccessedCaptures(newLambdaBody2, newModel.RequiredModel, newInLambdaCaptures, newCapturesIndex, newLiftingPrimaryConstructor).Equals(
BitVector
.Empty));
6365
private static
BitVector
GetAccessedCaptures(
6372
var
result =
BitVector
.Create(captures.Length);
IntroduceParameter\AbstractIntroduceParameterCodeRefactoringProvider.cs (2)
172
var
suppliedParameters =
BitVector
.Create(method.Parameters.Length);
Microsoft.CodeAnalysis.Workspaces (17)
src\roslyn\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)