30 references to variableBySlot
Microsoft.CodeAnalysis.CSharp (30)
FlowAnalysis\AlwaysAssignedWalker.cs (2)
57if (i >= variableBySlot.Count) 62var 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; 996int n = variableBySlot.Count; 1000var id = variableBySlot[i]; 1005variableBySlot[slot].Symbol.GetTypeOrReturnType().TypeKind == TypeKind.Struct; 1164_alreadyReported.EnsureCapacity(variableBySlot.Count); 1279var fieldIdentifier = variableBySlot[fieldSlot]; 1643VariableIdentifier variable = variableBySlot[containingSlot]; 1679VariableIdentifier id = variableBySlot[slot]; 1703id = variableBySlot[slot]; 1715VariableIdentifier id = variableBySlot[slot]; 1737id = variableBySlot[slot]; 1835var result = new LocalState(BitVector.AllSet(variableBySlot.Count)); 2797VariableIdentifier 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)
79var allVariables = walker.variableBySlot; 160for (int i = 0; i < variableBySlot.Count; i++) 162var symbol = variableBySlot[i].Symbol;