1 override of GetOrCreateSlot
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.cs (1)
2295protected override int GetOrCreateSlot(Symbol symbol, int containingSlot = 0, bool forceSlotEvenIfEmpty = false, bool createIfMissing = true)
31 references to GetOrCreateSlot
Microsoft.CodeAnalysis.CSharp (31)
FlowAnalysis\AbstractRegionDataFlowPass.cs (3)
35if ((object)MethodThisParameter != null) GetOrCreateSlot(MethodThisParameter); 38GetOrCreateSlot(extensionParameter); 66GetOrCreateSlot(parameter);
FlowAnalysis\DataFlowsOutWalker.cs (1)
81int slot = this.GetOrCreateSlot(variableSymbol);
FlowAnalysis\DefiniteAssignment.cs (19)
373int slot = GetOrCreateSlot(methodThisParameter); 1279var thisSlot = GetOrCreateSlot(CurrentSymbol.EnclosingThisSymbol()); 1355unassignedSlot = GetOrCreateSlot(MethodThisParameter); 1361unassignedSlot = GetOrCreateSlot(((BoundLocal)node).LocalSymbol); 1373unassignedSlot = GetOrCreateSlot(fieldAccess.FieldSymbol, unassignedSlot); 1385unassignedSlot = GetOrCreateSlot(eventAccess.EventSymbol.AssociatedField, unassignedSlot); 1409unassignedSlot = GetOrCreateSlot(backingField, unassignedSlot); 1420unassignedSlot = GetOrCreateSlot(parameter.ParameterSymbol); 1511int slot = GetOrCreateSlot(symbol); 1524int slot = GetOrCreateSlot(symbol); 1778int slot = GetOrCreateSlot(parameter); 1790int slot = GetOrCreateSlot(thisParameter); 1802int slot = GetOrCreateSlot(extensionParameter); 1820int slot = GetOrCreateSlot(parameter); 1852int slot = GetOrCreateSlot(parameter); 2276SetSlotState(GetOrCreateSlot(symbol), initiallyAssigned); 2324int slot = GetOrCreateSlot(localSymbol); 2350_ = GetOrCreateSlot(node.LocalSymbol); // not initially assigned 2800int slot = GetOrCreateSlot(iterationVariable);
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (1)
113int fieldSlot = GetOrCreateSlot(field, slot);
FlowAnalysis\LocalDataFlowPass.cs (5)
183containingSlot = GetOrCreateSlot(restField, containingSlot); 218return (object)MethodThisParameter != null ? GetOrCreateSlot(MethodThisParameter) : -1; 220return GetOrCreateSlot(((BoundLocal)node).LocalSymbol); 222return GetOrCreateSlot(((BoundParameter)node).ParameterSymbol); 260return GetOrCreateSlot(member, containingSlot);
FlowAnalysis\NullableWalker.cs (1)
2301return base.GetOrCreateSlot(symbol, containingSlot, forceSlotEvenIfEmpty, createIfMissing);
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
274GetOrCreateSlot(parameter);