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 2174int containingSlot = MakeSlot(operand); 2190return MakeSlot(conv.Operand); 3578TrackNullableStateForAssignment(receiver, resultType, resultSlot, resultState, MakeSlot(receiver)); 3730TrackNullableStateForAssignment(initializer, type, slot, valueType, MakeSlot(initializer)); 4402int valueSlot = MakeSlot(operand); 4460int operandSlot = MakeSlot(argument); 4781TrackNullableStateForAssignment(node.Right, type, slot, resultType, MakeSlot(node.Right)); 5015TrackNullableStateForAssignment(argument, property.TypeWithAnnotations, slot, argumentType, MakeSlot(argument)); 5906slot = MakeSlot(conditional.Receiver); 5938slot = MakeSlot(operand); 6002var slot = MakeSlot(expressionWithoutConversion); 6110int leftSlot = MakeSlot(leftOperand); 6135TrackNullableStateForAssignment(rightOperand, targetType, leftSlot, rightResult, MakeSlot(rightOperand)); 6294var slot = MakeSlot(node); 6381var slot = MakeSlot(expr); 6416var slot = MakeSlot(receiver); 7868? MakeSlot(receiverOpt) 8323trackNullableStateForAssignment(parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter); 8367trackNullableStateForAssignment(parameterValue, lValueType, MakeSlot(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter); 9425TrackNullableStateForAssignment(value, field.TypeWithAnnotations, targetSlot, valueType, MakeSlot(value)); 9963int operandSlot = MakeSlot(conversionOperand); 10020int valueSlot = MakeSlot(conversionOperand); 10070int valueSlot = MakeSlot(conversionOperand); 10096int valueSlot = MakeSlot(conversionOperand); 11219TrackNullableStateForAssignment(right, leftLValueType, MakeSlot(left), rightState, MakeSlot(right)); 11521valueSlot = MakeSlot(rightPart); 11545int targetSlot = MakeSlot(variable.Expression); 11554valueSlot = MakeSlot(rightPart); 11664extensionReceiverSlot = MakeSlot(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand); 11827TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot: MakeSlot(node.Operand), valueType: resultOfIncrementType); 11853extensionReceiverSlot = MakeSlot(node.Left) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Left); 11968Debug.Assert(MakeSlot(node) == -1); 11969TrackNullableStateForAssignment(node, leftLvalueType, MakeSlot(node.Left), resultTypeWithState); 12238slotToSet = MakeSlot(receiverOpt);
FlowAnalysis\NullableWalker_Patterns.cs (3)
28int slot = MakeSlot(expression); 386int originalInputSlot = MakeSlot(expression); 1150return node.IsSuppressed ? GetOrCreatePlaceholderSlot(node) : MakeSlot(node);