1 override of GetOrCreateSlot
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.cs (1)
2201
protected override int
GetOrCreateSlot
(Symbol symbol, int containingSlot = 0, bool forceSlotEvenIfEmpty = false, bool createIfMissing = true)
30 references to GetOrCreateSlot
Microsoft.CodeAnalysis.CSharp (30)
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 (18)
366
int slot =
GetOrCreateSlot
(methodThisParameter);
1332
var thisSlot =
GetOrCreateSlot
(CurrentSymbol.EnclosingThisSymbol());
1408
unassignedSlot =
GetOrCreateSlot
(MethodThisParameter);
1414
unassignedSlot =
GetOrCreateSlot
(((BoundLocal)node).LocalSymbol);
1426
unassignedSlot =
GetOrCreateSlot
(fieldAccess.FieldSymbol, unassignedSlot);
1438
unassignedSlot =
GetOrCreateSlot
(eventAccess.EventSymbol.AssociatedField, unassignedSlot);
1462
unassignedSlot =
GetOrCreateSlot
(backingField, unassignedSlot);
1473
unassignedSlot =
GetOrCreateSlot
(parameter.ParameterSymbol);
1564
int slot =
GetOrCreateSlot
(symbol);
1577
int slot =
GetOrCreateSlot
(symbol);
1831
int slot =
GetOrCreateSlot
(parameter);
1843
int slot =
GetOrCreateSlot
(thisParameter);
1855
int slot =
GetOrCreateSlot
(extensionParameter);
1905
int slot =
GetOrCreateSlot
(parameter);
2337
SetSlotState(
GetOrCreateSlot
(symbol), initiallyAssigned);
2385
int slot =
GetOrCreateSlot
(node.LocalSymbol);
2411
_ =
GetOrCreateSlot
(node.LocalSymbol); // not initially assigned
2795
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)
2253
return base.
GetOrCreateSlot
(symbol, containingSlot, forceSlotEvenIfEmpty, createIfMissing);
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
255
GetOrCreateSlot
(parameter);