19 references to Capacity
Microsoft.CodeAnalysis.CSharp (19)
Binder\Semantics\OverloadResolution\MemberAnalysisResult.cs (1)
435
var result = BitVector.Create(badArguments.
Capacity
);
FlowAnalysis\DefiniteAssignment.cs (10)
996
int oldNext = state.Assigned.
Capacity
;
1114
if (slot >= this.State.Assigned.
Capacity
) Normalize(ref this.State);
1163
if (slot >= _alreadyReported.
Capacity
)
1683
if (slot >= state.Assigned.
Capacity
) Normalize(ref state);
2815
if (self.Assigned.
Capacity
!= other.Assigned.
Capacity
)
2828
for (int slot = 1; slot < self.Assigned.
Capacity
; slot++)
2843
if (self.Assigned.
Capacity
!= other.Assigned.
Capacity
)
2912
return Assigned.
Capacity
<= 0 || !IsAssigned(0);
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (2)
47
for (int slot = 1; slot < reads.
Capacity
; slot++)
77
if (slot >= this.State.Assigned.
Capacity
)
FlowAnalysis\NullableWalker.cs (5)
13986
private int Capacity => _state.
Capacity
/ 2;
14188
Debug.Assert(_state.
Capacity
== other._state.
Capacity
);
14217
Debug.Assert(_state.
Capacity
== other._state.
Capacity
);
Symbols\Synthesized\RefKindVector.cs (1)
35
internal int Capacity => _bits.
Capacity
/ BitsPerRefKind;