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