1 override of GetOrCreateSlot
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.cs (1)
2070protected override int GetOrCreateSlot(Symbol symbol, int containingSlot = 0, bool forceSlotEvenIfEmpty = false, bool createIfMissing = true)
29 references to GetOrCreateSlot
Microsoft.CodeAnalysis.CSharp (29)
FlowAnalysis\AbstractRegionDataFlowPass.cs (2)
35if ((object)MethodThisParameter != null) GetOrCreateSlot(MethodThisParameter); 62GetOrCreateSlot(parameter);
FlowAnalysis\DataFlowsOutWalker.cs (1)
81int slot = this.GetOrCreateSlot(variableSymbol);
FlowAnalysis\DefiniteAssignment.cs (18)
367int slot = GetOrCreateSlot(methodThisParameter); 1267var thisSlot = GetOrCreateSlot(CurrentSymbol.EnclosingThisSymbol()); 1332unassignedSlot = GetOrCreateSlot(MethodThisParameter); 1338unassignedSlot = GetOrCreateSlot(((BoundLocal)node).LocalSymbol); 1350unassignedSlot = GetOrCreateSlot(fieldAccess.FieldSymbol, unassignedSlot); 1362unassignedSlot = GetOrCreateSlot(eventAccess.EventSymbol.AssociatedField, unassignedSlot); 1380unassignedSlot = GetOrCreateSlot(backingField, unassignedSlot); 1391unassignedSlot = GetOrCreateSlot(parameter.ParameterSymbol); 1478int slot = GetOrCreateSlot(symbol); 1491int slot = GetOrCreateSlot(symbol); 1694int slot = GetOrCreateSlot(parameter); 1703int slot = GetOrCreateSlot(thisParameter); 1720int slot = GetOrCreateSlot(parameter); 1752int slot = GetOrCreateSlot(parameter); 2146SetSlotState(GetOrCreateSlot(symbol), initiallyAssigned); 2194int slot = GetOrCreateSlot(node.LocalSymbol); 2220_ = GetOrCreateSlot(node.LocalSymbol); // not initially assigned 2600int slot = GetOrCreateSlot(iterationVariable);
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (1)
113int fieldSlot = GetOrCreateSlot(field, slot);
FlowAnalysis\LocalDataFlowPass.cs (5)
182containingSlot = GetOrCreateSlot(restField, containingSlot); 212return (object)MethodThisParameter != null ? GetOrCreateSlot(MethodThisParameter) : -1; 214return GetOrCreateSlot(((BoundLocal)node).LocalSymbol); 216return GetOrCreateSlot(((BoundParameter)node).ParameterSymbol); 254return GetOrCreateSlot(member, containingSlot);
FlowAnalysis\NullableWalker.cs (1)
2098return base.GetOrCreateSlot(symbol, containingSlot, forceSlotEvenIfEmpty, createIfMissing);
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
229GetOrCreateSlot(parameter);