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 2212int containingSlot = MakeSlot(operand); 2228return MakeSlot(conv.Operand); 3623TrackNullableStateForAssignment(receiver, resultType, resultSlot, resultState, MakeSlot(receiver)); 3775TrackNullableStateForAssignment(initializer, type, slot, valueType, MakeSlot(initializer)); 4449int valueSlot = MakeSlot(operand); 4508int operandSlot = MakeSlot(argument); 4766TrackNullableStateForAssignment(node.Right, type, slot, resultType, MakeSlot(node.Right)); 5053TrackNullableStateForAssignment(argument, property.TypeWithAnnotations, slot, argumentType, MakeSlot(argument)); 5944slot = MakeSlot(conditional.Receiver); 5976slot = MakeSlot(operand); 6040var slot = MakeSlot(expressionWithoutConversion); 6148int leftSlot = MakeSlot(leftOperand); 6173TrackNullableStateForAssignment(rightOperand, targetType, leftSlot, rightResult, MakeSlot(rightOperand)); 6332var slot = MakeSlot(node); 6419var slot = MakeSlot(expr); 6454var slot = MakeSlot(receiver); 7944? MakeSlot(receiverOpt) 8393trackNullableStateForAssignment(receiverType, parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter); 8437trackNullableStateForAssignment(receiverType, parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter); 9489TrackNullableStateForAssignment(value, field.TypeWithAnnotations, targetSlot, valueType, MakeSlot(value)); 10025int operandSlot = MakeSlot(conversionOperand); 10082int valueSlot = MakeSlot(conversionOperand); 10132int valueSlot = MakeSlot(conversionOperand); 10158int valueSlot = MakeSlot(conversionOperand); 11298TrackNullableStateForAssignment(right, leftLValueType, MakeSlot(left), rightState, MakeSlot(right)); 11600valueSlot = MakeSlot(rightPart); 11624int targetSlot = MakeSlot(variable.Expression); 11633valueSlot = MakeSlot(rightPart); 11743extensionReceiverSlot = MakeSlot(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand); 11910TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot: MakeSlot(node.Operand), valueType: resultOfIncrementType); 11936extensionReceiverSlot = MakeSlot(node.Left) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Left); 12051Debug.Assert(MakeSlot(node) == -1); 12052TrackNullableStateForAssignment(node, leftLvalueType, MakeSlot(node.Left), resultTypeWithState); 12361slotToSet = MakeSlot(receiverOpt);
FlowAnalysis\NullableWalker_Patterns.cs (3)
29int slot = MakeSlot(expression); 388int originalInputSlot = MakeSlot(expression); 1206return node.IsSuppressed ? GetOrCreatePlaceholderSlot(node) : MakeSlot(node);