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; 1059int n = variableBySlot.Count; 1063var id = variableBySlot[i]; 1068variableBySlot[slot].Symbol.GetTypeOrReturnType().TypeKind == TypeKind.Struct; 1227_alreadyReported.EnsureCapacity(variableBySlot.Count); 1342var fieldIdentifier = variableBySlot[fieldSlot]; 1706VariableIdentifier variable = variableBySlot[containingSlot]; 1742VariableIdentifier id = variableBySlot[slot]; 1766id = variableBySlot[slot]; 1778VariableIdentifier id = variableBySlot[slot]; 1800id = variableBySlot[slot]; 1898var result = new LocalState(BitVector.AllSet(variableBySlot.Count)); 2866VariableIdentifier 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;