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)
254variableBySlot.Free(); 276int slot = variableBySlot.Count; 278variableBySlot.Add(identifier); 285VariableIdentifier variableId = variableBySlot[slot]; 290variableId = variableBySlot[variableId.ContainingSlot]; 299int containingSlot = variableBySlot[slot].ContainingSlot; 1044int n = variableBySlot.Count; 1048var id = variableBySlot[i]; 1053variableBySlot[slot].Symbol.GetTypeOrReturnType().TypeKind == TypeKind.Struct; 1212_alreadyReported.EnsureCapacity(variableBySlot.Count); 1327var fieldIdentifier = variableBySlot[fieldSlot]; 1691VariableIdentifier variable = variableBySlot[containingSlot]; 1727VariableIdentifier id = variableBySlot[slot]; 1751id = variableBySlot[slot]; 1763VariableIdentifier id = variableBySlot[slot]; 1785id = variableBySlot[slot]; 1871var result = new LocalState(BitVector.AllSet(variableBySlot.Count)); 2839VariableIdentifier 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;