21 references to Capacity
Microsoft.CodeAnalysis.CSharp (21)
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 (7)
7105
var result = BitVector.Create(defaultArguments.
Capacity
+ 1);
7106
for (int i = 0; i < defaultArguments.
Capacity
; i++)
14054
private int Capacity => _state.
Capacity
/ 2;
14256
Debug.Assert(_state.
Capacity
== other._state.
Capacity
);
14285
Debug.Assert(_state.
Capacity
== other._state.
Capacity
);
Symbols\Synthesized\RefKindVector.cs (1)
35
internal int Capacity => _bits.
Capacity
/ BitsPerRefKind;