1 override of GetOrCreateSlot
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.cs (1)
2118protected 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)
366int slot = GetOrCreateSlot(methodThisParameter); 1317var thisSlot = GetOrCreateSlot(CurrentSymbol.EnclosingThisSymbol()); 1393unassignedSlot = GetOrCreateSlot(MethodThisParameter); 1399unassignedSlot = GetOrCreateSlot(((BoundLocal)node).LocalSymbol); 1411unassignedSlot = GetOrCreateSlot(fieldAccess.FieldSymbol, unassignedSlot); 1423unassignedSlot = GetOrCreateSlot(eventAccess.EventSymbol.AssociatedField, unassignedSlot); 1447unassignedSlot = GetOrCreateSlot(backingField, unassignedSlot); 1458unassignedSlot = GetOrCreateSlot(parameter.ParameterSymbol); 1549int slot = GetOrCreateSlot(symbol); 1562int slot = GetOrCreateSlot(symbol); 1816int slot = GetOrCreateSlot(parameter); 1828int slot = GetOrCreateSlot(thisParameter); 1846int slot = GetOrCreateSlot(parameter); 1878int slot = GetOrCreateSlot(parameter); 2310SetSlotState(GetOrCreateSlot(symbol), initiallyAssigned); 2358int slot = GetOrCreateSlot(node.LocalSymbol); 2384_ = GetOrCreateSlot(node.LocalSymbol); // not initially assigned 2768int slot = GetOrCreateSlot(iterationVariable);
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (1)
113int fieldSlot = GetOrCreateSlot(field, slot);
FlowAnalysis\LocalDataFlowPass.cs (5)
182containingSlot = GetOrCreateSlot(restField, containingSlot); 217return (object)MethodThisParameter != null ? GetOrCreateSlot(MethodThisParameter) : -1; 219return GetOrCreateSlot(((BoundLocal)node).LocalSymbol); 221return GetOrCreateSlot(((BoundParameter)node).ParameterSymbol); 259return GetOrCreateSlot(member, containingSlot);
FlowAnalysis\NullableWalker.cs (1)
2170return base.GetOrCreateSlot(symbol, containingSlot, forceSlotEvenIfEmpty, createIfMissing);
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
255GetOrCreateSlot(parameter);