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