1 override of GetOrCreateSlot
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.cs (1)
2295
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)
373
int slot =
GetOrCreateSlot
(methodThisParameter);
1279
var thisSlot =
GetOrCreateSlot
(CurrentSymbol.EnclosingThisSymbol());
1355
unassignedSlot =
GetOrCreateSlot
(MethodThisParameter);
1361
unassignedSlot =
GetOrCreateSlot
(((BoundLocal)node).LocalSymbol);
1373
unassignedSlot =
GetOrCreateSlot
(fieldAccess.FieldSymbol, unassignedSlot);
1385
unassignedSlot =
GetOrCreateSlot
(eventAccess.EventSymbol.AssociatedField, unassignedSlot);
1409
unassignedSlot =
GetOrCreateSlot
(backingField, unassignedSlot);
1420
unassignedSlot =
GetOrCreateSlot
(parameter.ParameterSymbol);
1511
int slot =
GetOrCreateSlot
(symbol);
1524
int slot =
GetOrCreateSlot
(symbol);
1778
int slot =
GetOrCreateSlot
(parameter);
1790
int slot =
GetOrCreateSlot
(thisParameter);
1802
int slot =
GetOrCreateSlot
(extensionParameter);
1820
int slot =
GetOrCreateSlot
(parameter);
1852
int slot =
GetOrCreateSlot
(parameter);
2276
SetSlotState(
GetOrCreateSlot
(symbol), initiallyAssigned);
2324
int slot =
GetOrCreateSlot
(localSymbol);
2350
_ =
GetOrCreateSlot
(node.LocalSymbol); // not initially assigned
2800
int slot =
GetOrCreateSlot
(iterationVariable);
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (1)
113
int fieldSlot =
GetOrCreateSlot
(field, slot);
FlowAnalysis\LocalDataFlowPass.cs (5)
183
containingSlot =
GetOrCreateSlot
(restField, containingSlot);
218
return (object)MethodThisParameter != null ?
GetOrCreateSlot
(MethodThisParameter) : -1;
220
return
GetOrCreateSlot
(((BoundLocal)node).LocalSymbol);
222
return
GetOrCreateSlot
(((BoundParameter)node).ParameterSymbol);
260
return
GetOrCreateSlot
(member, containingSlot);
FlowAnalysis\NullableWalker.cs (1)
2301
return base.
GetOrCreateSlot
(symbol, containingSlot, forceSlotEvenIfEmpty, createIfMissing);
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
274
GetOrCreateSlot
(parameter);