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