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; 1045int n = variableBySlot.Count; 1049var id = variableBySlot[i]; 1054variableBySlot[slot].Symbol.GetTypeOrReturnType().TypeKind == TypeKind.Struct; 1213_alreadyReported.EnsureCapacity(variableBySlot.Count); 1328var fieldIdentifier = variableBySlot[fieldSlot]; 1692VariableIdentifier variable = variableBySlot[containingSlot]; 1728VariableIdentifier id = variableBySlot[slot]; 1752id = variableBySlot[slot]; 1764VariableIdentifier id = variableBySlot[slot]; 1786id = variableBySlot[slot]; 1884var result = new LocalState(BitVector.AllSet(variableBySlot.Count)); 2852VariableIdentifier 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; 153for (int i = 0; i < variableBySlot.Count; i++) 155var symbol = variableBySlot[i].Symbol;