Base:
method
MakeSlot
Microsoft.CodeAnalysis.CSharp.LocalDataFlowPass<TLocalState, TLocalFunctionState>.MakeSlot(Microsoft.CodeAnalysis.CSharp.BoundExpression)
39 references to MakeSlot
Microsoft.CodeAnalysis.CSharp (39)
FlowAnalysis\NullableWalker_Patterns.cs (3)
30int slot = MakeSlot(expression); 390int originalInputSlot = MakeSlot(expression); 1244return node.IsSuppressed ? GetOrCreatePlaceholderSlot(node) : MakeSlot(node);
FlowAnalysis\NullableWalker.cs (36)
457/// Used to allow <see cref="MakeSlot(BoundExpression)"/> to substitute the correct slot for a <see cref="BoundConditionalReceiver"/> when 2228int containingSlot = MakeSlot(operand); 2244return MakeSlot(conv.Operand); 3658TrackNullableStateForAssignment(receiver, resultType, resultSlot, resultState, MakeSlot(receiver)); 3810TrackNullableStateForAssignment(initializer, type, slot, valueType, MakeSlot(initializer)); 4485int valueSlot = MakeSlot(operand); 4555int operandSlot = MakeSlot(argument); 4818TrackNullableStateForAssignment(node.Right, type, slot, resultType, MakeSlot(node.Right)); 5105TrackNullableStateForAssignment(argument, property.TypeWithAnnotations, slot, argumentType, MakeSlot(argument)); 6012slot = MakeSlot(conditional.Receiver); 6044slot = MakeSlot(operand); 6108var slot = MakeSlot(expressionWithoutConversion); 6216int leftSlot = MakeSlot(leftOperand); 6241TrackNullableStateForAssignment(rightOperand, targetType, leftSlot, rightResult, MakeSlot(rightOperand)); 6400var slot = MakeSlot(node); 6487var slot = MakeSlot(expr); 6522var slot = MakeSlot(receiver); 8019? MakeSlot(receiverOpt) 8468trackNullableStateForAssignment(receiverType, parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter); 8512trackNullableStateForAssignment(receiverType, parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter); 9564TrackNullableStateForAssignment(value, field.TypeWithAnnotations, targetSlot, valueType, MakeSlot(value)); 10100int operandSlot = MakeSlot(conversionOperand); 10157int valueSlot = MakeSlot(conversionOperand); 10207int valueSlot = MakeSlot(conversionOperand); 10233int valueSlot = MakeSlot(conversionOperand); 11377TrackNullableStateForAssignment(right, leftLValueType, MakeSlot(left), rightState, MakeSlot(right)); 11686valueSlot = MakeSlot(rightPart); 11710int targetSlot = MakeSlot(variable.Expression); 11719valueSlot = MakeSlot(rightPart); 11829extensionReceiverSlot = MakeSlot(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand); 11996TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot: MakeSlot(node.Operand), valueType: resultOfIncrementType); 12022extensionReceiverSlot = MakeSlot(node.Left) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Left); 12137Debug.Assert(MakeSlot(node) == -1); 12138TrackNullableStateForAssignment(node, leftLvalueType, MakeSlot(node.Left), resultTypeWithState); 12447slotToSet = MakeSlot(receiverOpt);