1 override of GetOrCreateSlot
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.cs (1)
2070
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)
367
int slot =
GetOrCreateSlot
(methodThisParameter);
1267
var thisSlot =
GetOrCreateSlot
(CurrentSymbol.EnclosingThisSymbol());
1332
unassignedSlot =
GetOrCreateSlot
(MethodThisParameter);
1338
unassignedSlot =
GetOrCreateSlot
(((BoundLocal)node).LocalSymbol);
1350
unassignedSlot =
GetOrCreateSlot
(fieldAccess.FieldSymbol, unassignedSlot);
1362
unassignedSlot =
GetOrCreateSlot
(eventAccess.EventSymbol.AssociatedField, unassignedSlot);
1380
unassignedSlot =
GetOrCreateSlot
(backingField, unassignedSlot);
1391
unassignedSlot =
GetOrCreateSlot
(parameter.ParameterSymbol);
1478
int slot =
GetOrCreateSlot
(symbol);
1491
int slot =
GetOrCreateSlot
(symbol);
1694
int slot =
GetOrCreateSlot
(parameter);
1703
int slot =
GetOrCreateSlot
(thisParameter);
1720
int slot =
GetOrCreateSlot
(parameter);
1752
int slot =
GetOrCreateSlot
(parameter);
2146
SetSlotState(
GetOrCreateSlot
(symbol), initiallyAssigned);
2194
int slot =
GetOrCreateSlot
(node.LocalSymbol);
2220
_ =
GetOrCreateSlot
(node.LocalSymbol); // not initially assigned
2600
int slot =
GetOrCreateSlot
(iterationVariable);
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (1)
113
int fieldSlot =
GetOrCreateSlot
(field, slot);
FlowAnalysis\LocalDataFlowPass.cs (5)
182
containingSlot =
GetOrCreateSlot
(restField, containingSlot);
212
return (object)MethodThisParameter != null ?
GetOrCreateSlot
(MethodThisParameter) : -1;
214
return
GetOrCreateSlot
(((BoundLocal)node).LocalSymbol);
216
return
GetOrCreateSlot
(((BoundParameter)node).ParameterSymbol);
254
return
GetOrCreateSlot
(member, containingSlot);
FlowAnalysis\NullableWalker.cs (1)
2098
return base.
GetOrCreateSlot
(symbol, containingSlot, forceSlotEvenIfEmpty, createIfMissing);
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
229
GetOrCreateSlot
(parameter);