Base:
method
MakeSlot
Microsoft.CodeAnalysis.CSharp.LocalDataFlowPass<TLocalState, TLocalFunctionState>.MakeSlot(Microsoft.CodeAnalysis.CSharp.BoundExpression)
39 references to MakeSlot
Microsoft.CodeAnalysis.CSharp (39)
FlowAnalysis\NullableWalker.cs (36)
457/// Used to allow <see cref="MakeSlot(BoundExpression)"/> to substitute the correct slot for a <see cref="BoundConditionalReceiver"/> when 2210int containingSlot = MakeSlot(operand); 2226return MakeSlot(conv.Operand); 3614TrackNullableStateForAssignment(receiver, resultType, resultSlot, resultState, MakeSlot(receiver)); 3766TrackNullableStateForAssignment(initializer, type, slot, valueType, MakeSlot(initializer)); 4440int valueSlot = MakeSlot(operand); 4499int operandSlot = MakeSlot(argument); 4820TrackNullableStateForAssignment(node.Right, type, slot, resultType, MakeSlot(node.Right)); 5055TrackNullableStateForAssignment(argument, property.TypeWithAnnotations, slot, argumentType, MakeSlot(argument)); 5946slot = MakeSlot(conditional.Receiver); 5978slot = MakeSlot(operand); 6042var slot = MakeSlot(expressionWithoutConversion); 6150int leftSlot = MakeSlot(leftOperand); 6175TrackNullableStateForAssignment(rightOperand, targetType, leftSlot, rightResult, MakeSlot(rightOperand)); 6334var slot = MakeSlot(node); 6421var slot = MakeSlot(expr); 6456var slot = MakeSlot(receiver); 7917? MakeSlot(receiverOpt) 8366trackNullableStateForAssignment(receiverType, parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter); 8410trackNullableStateForAssignment(receiverType, parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter); 9462TrackNullableStateForAssignment(value, field.TypeWithAnnotations, targetSlot, valueType, MakeSlot(value)); 9998int operandSlot = MakeSlot(conversionOperand); 10055int valueSlot = MakeSlot(conversionOperand); 10105int valueSlot = MakeSlot(conversionOperand); 10131int valueSlot = MakeSlot(conversionOperand); 11269TrackNullableStateForAssignment(right, leftLValueType, MakeSlot(left), rightState, MakeSlot(right)); 11572valueSlot = MakeSlot(rightPart); 11596int targetSlot = MakeSlot(variable.Expression); 11605valueSlot = MakeSlot(rightPart); 11715extensionReceiverSlot = MakeSlot(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand); 11882TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot: MakeSlot(node.Operand), valueType: resultOfIncrementType); 11908extensionReceiverSlot = MakeSlot(node.Left) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Left); 12023Debug.Assert(MakeSlot(node) == -1); 12024TrackNullableStateForAssignment(node, leftLvalueType, MakeSlot(node.Left), resultTypeWithState); 12293slotToSet = MakeSlot(receiverOpt);
FlowAnalysis\NullableWalker_Patterns.cs (3)
29int slot = MakeSlot(expression); 388int originalInputSlot = MakeSlot(expression); 1152return node.IsSuppressed ? GetOrCreatePlaceholderSlot(node) : MakeSlot(node);