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 2198int containingSlot = MakeSlot(operand); 2214return MakeSlot(conv.Operand); 3609TrackNullableStateForAssignment(receiver, resultType, resultSlot, resultState, MakeSlot(receiver)); 3761TrackNullableStateForAssignment(initializer, type, slot, valueType, MakeSlot(initializer)); 4435int valueSlot = MakeSlot(operand); 4494int operandSlot = MakeSlot(argument); 4752TrackNullableStateForAssignment(node.Right, type, slot, resultType, MakeSlot(node.Right)); 5039TrackNullableStateForAssignment(argument, property.TypeWithAnnotations, slot, argumentType, MakeSlot(argument)); 5930slot = MakeSlot(conditional.Receiver); 5962slot = MakeSlot(operand); 6026var slot = MakeSlot(expressionWithoutConversion); 6134int leftSlot = MakeSlot(leftOperand); 6159TrackNullableStateForAssignment(rightOperand, targetType, leftSlot, rightResult, MakeSlot(rightOperand)); 6318var slot = MakeSlot(node); 6405var slot = MakeSlot(expr); 6440var slot = MakeSlot(receiver); 7930? MakeSlot(receiverOpt) 8379trackNullableStateForAssignment(receiverType, parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter); 8423trackNullableStateForAssignment(receiverType, parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter); 9475TrackNullableStateForAssignment(value, field.TypeWithAnnotations, targetSlot, valueType, MakeSlot(value)); 10011int operandSlot = MakeSlot(conversionOperand); 10068int valueSlot = MakeSlot(conversionOperand); 10118int valueSlot = MakeSlot(conversionOperand); 10144int valueSlot = MakeSlot(conversionOperand); 11288TrackNullableStateForAssignment(right, leftLValueType, MakeSlot(left), rightState, MakeSlot(right)); 11590valueSlot = MakeSlot(rightPart); 11614int targetSlot = MakeSlot(variable.Expression); 11623valueSlot = MakeSlot(rightPart); 11733extensionReceiverSlot = MakeSlot(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand); 11900TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot: MakeSlot(node.Operand), valueType: resultOfIncrementType); 11926extensionReceiverSlot = MakeSlot(node.Left) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Left); 12041Debug.Assert(MakeSlot(node) == -1); 12042TrackNullableStateForAssignment(node, leftLvalueType, MakeSlot(node.Left), resultTypeWithState); 12351slotToSet = MakeSlot(receiverOpt);