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