5 instantiations of BitVector
Microsoft.CodeAnalysis (5)
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);
37 references to BitVector
Microsoft.CodeAnalysis (26)
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)
Diagnostic\DiagnosticInfo.cs (3)
135var bits = BitVector.Create(actualLength); 146Debug.Assert(bits == BitVector.AllSet(actualLength));
Operations\ControlFlowGraphBuilder.cs (4)
239private static BitVector MarkReachableBlocks( 248var visited = BitVector.Empty; 380BitVector isolated = MarkReachableBlocks(blocks,
ReferenceManager\CommonReferenceManager.State.cs (2)
619var visitedAssemblies = BitVector.Create(bindingResult.Length);
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder.ValueChecks.cs (1)
2962var paramsMatched = BitVector.Create(parameters.Length);
Binder\Binder_Invocation.cs (1)
1477var visitedParameters = BitVector.Create(parameters.Length);
Binder\Binder_Query.cs (1)
324var defaultArguments = result.DefaultArguments.Clone();
Binder\Semantics\OverloadResolution\MemberAnalysisResult.cs (1)
299var badArguments = BitVector.Create(argumentPosition + 1);
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
952var needsFixing = BitVector.Create(_methodTypeParameters.Length);
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
729var argumentsAssignedToTemp = BitVector.Null;
Symbols\Synthesized\RefKindVector.cs (1)
139var bitVector = BitVector.FromWords(firstWord.Value, otherWords?.ToArrayAndFree() ?? Array.Empty<ulong>(), capacity * BitsPerRefKind);
Microsoft.CodeAnalysis.UnitTests (4)
Collections\BitArrayTests.cs (4)
264var b = BitVector.Create(capacity); 280var b = BitVector.Create(capacity); 300var b = BitVector.Create(capacity); 314var b = BitVector.Create(capacity);