1 override of GetOrCreateSlot
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.cs (1)
2216protected 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)
367int slot = GetOrCreateSlot(methodThisParameter); 1318var thisSlot = GetOrCreateSlot(CurrentSymbol.EnclosingThisSymbol()); 1394unassignedSlot = GetOrCreateSlot(MethodThisParameter); 1400unassignedSlot = GetOrCreateSlot(((BoundLocal)node).LocalSymbol); 1412unassignedSlot = GetOrCreateSlot(fieldAccess.FieldSymbol, unassignedSlot); 1424unassignedSlot = GetOrCreateSlot(eventAccess.EventSymbol.AssociatedField, unassignedSlot); 1448unassignedSlot = GetOrCreateSlot(backingField, unassignedSlot); 1459unassignedSlot = GetOrCreateSlot(parameter.ParameterSymbol); 1550int slot = GetOrCreateSlot(symbol); 1563int slot = GetOrCreateSlot(symbol); 1817int slot = GetOrCreateSlot(parameter); 1829int slot = GetOrCreateSlot(thisParameter); 1841int slot = GetOrCreateSlot(extensionParameter); 1859int slot = GetOrCreateSlot(parameter); 1891int slot = GetOrCreateSlot(parameter); 2323SetSlotState(GetOrCreateSlot(symbol), initiallyAssigned); 2371int slot = GetOrCreateSlot(node.LocalSymbol); 2397_ = GetOrCreateSlot(node.LocalSymbol); // not initially assigned 2781int 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)
2268return base.GetOrCreateSlot(symbol, containingSlot, forceSlotEvenIfEmpty, createIfMissing);
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
255GetOrCreateSlot(parameter);