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 2235int containingSlot = MakeSlot(operand); 2251return MakeSlot(conv.Operand); 3665TrackNullableStateForAssignment(receiver, resultType, resultSlot, resultState, MakeSlot(receiver)); 3817TrackNullableStateForAssignment(initializer, type, slot, valueType, MakeSlot(initializer)); 4491int valueSlot = MakeSlot(operand); 4550int operandSlot = MakeSlot(argument); 4808TrackNullableStateForAssignment(node.Right, type, slot, resultType, MakeSlot(node.Right)); 5095TrackNullableStateForAssignment(argument, property.TypeWithAnnotations, slot, argumentType, MakeSlot(argument)); 6002slot = MakeSlot(conditional.Receiver); 6034slot = MakeSlot(operand); 6098var slot = MakeSlot(expressionWithoutConversion); 6206int leftSlot = MakeSlot(leftOperand); 6231TrackNullableStateForAssignment(rightOperand, targetType, leftSlot, rightResult, MakeSlot(rightOperand)); 6390var slot = MakeSlot(node); 6477var slot = MakeSlot(expr); 6512var slot = MakeSlot(receiver); 8002? MakeSlot(receiverOpt) 8451trackNullableStateForAssignment(receiverType, parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter); 8495trackNullableStateForAssignment(receiverType, parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter); 9547TrackNullableStateForAssignment(value, field.TypeWithAnnotations, targetSlot, valueType, MakeSlot(value)); 10083int operandSlot = MakeSlot(conversionOperand); 10140int valueSlot = MakeSlot(conversionOperand); 10190int valueSlot = MakeSlot(conversionOperand); 10216int valueSlot = MakeSlot(conversionOperand); 11360TrackNullableStateForAssignment(right, leftLValueType, MakeSlot(left), rightState, MakeSlot(right)); 11669valueSlot = MakeSlot(rightPart); 11693int targetSlot = MakeSlot(variable.Expression); 11702valueSlot = MakeSlot(rightPart); 11812extensionReceiverSlot = MakeSlot(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand); 11979TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot: MakeSlot(node.Operand), valueType: resultOfIncrementType); 12005extensionReceiverSlot = MakeSlot(node.Left) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Left); 12120Debug.Assert(MakeSlot(node) == -1); 12121TrackNullableStateForAssignment(node, leftLvalueType, MakeSlot(node.Left), resultTypeWithState); 12430slotToSet = MakeSlot(receiverOpt);