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)
30
int slot =
MakeSlot
(expression);
390
int originalInputSlot =
MakeSlot
(expression);
1244
return 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
2228
int containingSlot =
MakeSlot
(operand);
2244
return
MakeSlot
(conv.Operand);
3658
TrackNullableStateForAssignment(receiver, resultType, resultSlot, resultState,
MakeSlot
(receiver));
3810
TrackNullableStateForAssignment(initializer, type, slot, valueType,
MakeSlot
(initializer));
4485
int valueSlot =
MakeSlot
(operand);
4555
int operandSlot =
MakeSlot
(argument);
4818
TrackNullableStateForAssignment(node.Right, type, slot, resultType,
MakeSlot
(node.Right));
5105
TrackNullableStateForAssignment(argument, property.TypeWithAnnotations, slot, argumentType,
MakeSlot
(argument));
6012
slot =
MakeSlot
(conditional.Receiver);
6044
slot =
MakeSlot
(operand);
6108
var slot =
MakeSlot
(expressionWithoutConversion);
6216
int leftSlot =
MakeSlot
(leftOperand);
6241
TrackNullableStateForAssignment(rightOperand, targetType, leftSlot, rightResult,
MakeSlot
(rightOperand));
6400
var slot =
MakeSlot
(node);
6487
var slot =
MakeSlot
(expr);
6522
var slot =
MakeSlot
(receiver);
8019
?
MakeSlot
(receiverOpt)
8468
trackNullableStateForAssignment(receiverType, parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter);
8512
trackNullableStateForAssignment(receiverType, parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter);
9564
TrackNullableStateForAssignment(value, field.TypeWithAnnotations, targetSlot, valueType,
MakeSlot
(value));
10100
int operandSlot =
MakeSlot
(conversionOperand);
10157
int valueSlot =
MakeSlot
(conversionOperand);
10207
int valueSlot =
MakeSlot
(conversionOperand);
10233
int valueSlot =
MakeSlot
(conversionOperand);
11377
TrackNullableStateForAssignment(right, leftLValueType,
MakeSlot
(left), rightState,
MakeSlot
(right));
11686
valueSlot =
MakeSlot
(rightPart);
11710
int targetSlot =
MakeSlot
(variable.Expression);
11719
valueSlot =
MakeSlot
(rightPart);
11829
extensionReceiverSlot =
MakeSlot
(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand);
11996
TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot:
MakeSlot
(node.Operand), valueType: resultOfIncrementType);
12022
extensionReceiverSlot =
MakeSlot
(node.Left) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Left);
12137
Debug.Assert(
MakeSlot
(node) == -1);
12138
TrackNullableStateForAssignment(node, leftLvalueType,
MakeSlot
(node.Left), resultTypeWithState);
12447
slotToSet =
MakeSlot
(receiverOpt);