30 references to variableBySlot
Microsoft.CodeAnalysis.CSharp (30)
FlowAnalysis\AlwaysAssignedWalker.cs (2)
56if (i >= variableBySlot.Count) 61var v = base.variableBySlot[i];
FlowAnalysis\DefiniteAssignment.cs (18)
255variableBySlot.Free(); 277int slot = variableBySlot.Count; 279variableBySlot.Add(identifier); 286VariableIdentifier variableId = variableBySlot[slot]; 291variableId = variableBySlot[variableId.ContainingSlot]; 300int containingSlot = variableBySlot[slot].ContainingSlot; 1000int n = variableBySlot.Count; 1004var id = variableBySlot[i]; 1009variableBySlot[slot].Symbol.GetTypeOrReturnType().TypeKind == TypeKind.Struct; 1168_alreadyReported.EnsureCapacity(variableBySlot.Count); 1277var fieldIdentifier = variableBySlot[fieldSlot]; 1578VariableIdentifier variable = variableBySlot[containingSlot]; 1607VariableIdentifier id = variableBySlot[slot]; 1631id = variableBySlot[slot]; 1643VariableIdentifier id = variableBySlot[slot]; 1665id = variableBySlot[slot]; 1745var result = new LocalState(BitVector.AllSet(variableBySlot.Count)); 2664VariableIdentifier id = variableBySlot[bit];
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (5)
32new LocalState(BitVector.AllSet(variableBySlot.Count), normalizeToBottom: true), 51var symbol = variableBySlot[slot].Symbol; 104VariableIdentifier id = variableBySlot[slot]; 128int n = variableBySlot.Count; 145var rootVarInfo = variableBySlot[RootSlot(slot)];
FlowAnalysis\DefinitelyAssignedWalker.cs (2)
93if (slot < variableBySlot.Count && 95variableBySlot[slot].Symbol is { } symbol &&
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (3)
72var allVariables = walker.variableBySlot; 136for (int i = 0; i < variableBySlot.Count; i++) 138var symbol = variableBySlot[i].Symbol;