Base:
method
GetOrCreateSlot
Microsoft.CodeAnalysis.CSharp.LocalDataFlowPass<TLocalState, TLocalFunctionState>.GetOrCreateSlot(Microsoft.CodeAnalysis.CSharp.Symbol, System.Int32, System.Boolean, System.Boolean)
36 references to GetOrCreateSlot
Microsoft.CodeAnalysis.CSharp (36)
FlowAnalysis\NullableWalker.cs (31)
640
thisSlot =
GetOrCreateSlot
(thisParameter);
776
var slot =
GetOrCreateSlot
(symbol, thisSlot);
1141
return
GetOrCreateSlot
(member, containingSlot);
1175
if (
GetOrCreateSlot
(parameter) is > 0 and var slot && GetState(ref pendingReturn.StateWhenTrue, slot) != GetState(ref pendingReturn.StateWhenFalse, slot))
1200
var slot =
GetOrCreateSlot
(parameter);
1261
var slot =
GetOrCreateSlot
(parameter);
1301
&&
GetOrCreateSlot
(inputParam) is > 0 and int inputSlot
2026
return thisParameter is object ?
GetOrCreateSlot
(thisParameter) : -1;
2139
GetOrCreateSlot
(methodThisParameter) is >= 0 and var thisSlot)
2636
int targetMemberSlot =
GetOrCreateSlot
(member, targetContainerSlot);
2663
int targetMemberSlot =
GetOrCreateSlot
(member, targetContainerSlot);
2666
int valueMemberSlot = (valueContainerSlot > 0) ?
GetOrCreateSlot
(member, valueContainerSlot) : -1;
2824
int slot =
GetOrCreateSlot
(parameter);
3027
int slot =
GetOrCreateSlot
(local);
3447
int slot =
GetOrCreateSlot
(local);
3467
int slot =
GetOrCreateSlot
(local);
4205
return (containingSlot < 0 || !IsSlotMember(containingSlot, symbol)) ? -1 :
GetOrCreateSlot
(symbol, containingSlot);
4510
var slot =
GetOrCreateSlot
(property, receiverSlot);
5483
int childSlot =
GetOrCreateSlot
(member, slot, forceSlotEvenIfEmpty: true, createIfMissing: false);
7132
return
GetOrCreateSlot
(thisParameter);
7202
if (
GetOrCreateSlot
(member, receiverSlot) is int memberSlot &&
8495
int targetSlot =
GetOrCreateSlot
(field, slot);
8569
int targetFieldSlot =
GetOrCreateSlot
(targetField, slot);
8573
int valueFieldSlot =
GetOrCreateSlot
(valueField, valueSlot);
8586
int targetFieldSlot =
GetOrCreateSlot
(targetField, slot);
8590
int valueFieldSlot =
GetOrCreateSlot
(valueField, valueSlot);
8613
int targetFieldSlot =
GetOrCreateSlot
(targetField, slot);
9924
int slot =
GetOrCreateSlot
(parameter);
10830
return (valueProperty is null) ? -1 :
GetOrCreateSlot
(valueProperty, containingSlot, forceSlotEvenIfEmpty: forceSlotEvenIfEmpty);
11149
int slot =
GetOrCreateSlot
(iterationVariable);
12011
int slot =
GetOrCreateSlot
(local);
FlowAnalysis\NullableWalker_Patterns.cs (5)
203
LearnFromAnyNullPatterns(
GetOrCreateSlot
(element, inputSlot), element.Type, item.Pattern);
269
return
GetOrCreateSlot
(member.Symbol, inputSlot);
502
outputSlot =
GetOrCreateSlot
(field, inputSlot, forceSlotEvenIfEmpty: true);
537
int outputSlot =
GetOrCreateSlot
(property, inputSlot, forceSlotEvenIfEmpty: true);
692
int localSlot =
GetOrCreateSlot
(local, forceSlotEvenIfEmpty: true);