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
2198
int containingSlot =
MakeSlot
(operand);
2214
return
MakeSlot
(conv.Operand);
3609
TrackNullableStateForAssignment(receiver, resultType, resultSlot, resultState,
MakeSlot
(receiver));
3761
TrackNullableStateForAssignment(initializer, type, slot, valueType,
MakeSlot
(initializer));
4435
int valueSlot =
MakeSlot
(operand);
4494
int operandSlot =
MakeSlot
(argument);
4752
TrackNullableStateForAssignment(node.Right, type, slot, resultType,
MakeSlot
(node.Right));
5039
TrackNullableStateForAssignment(argument, property.TypeWithAnnotations, slot, argumentType,
MakeSlot
(argument));
5930
slot =
MakeSlot
(conditional.Receiver);
5962
slot =
MakeSlot
(operand);
6026
var slot =
MakeSlot
(expressionWithoutConversion);
6134
int leftSlot =
MakeSlot
(leftOperand);
6159
TrackNullableStateForAssignment(rightOperand, targetType, leftSlot, rightResult,
MakeSlot
(rightOperand));
6318
var slot =
MakeSlot
(node);
6405
var slot =
MakeSlot
(expr);
6440
var slot =
MakeSlot
(receiver);
7930
?
MakeSlot
(receiverOpt)
8379
trackNullableStateForAssignment(receiverType, parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter);
8423
trackNullableStateForAssignment(receiverType, parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter);
9475
TrackNullableStateForAssignment(value, field.TypeWithAnnotations, targetSlot, valueType,
MakeSlot
(value));
10011
int operandSlot =
MakeSlot
(conversionOperand);
10068
int valueSlot =
MakeSlot
(conversionOperand);
10118
int valueSlot =
MakeSlot
(conversionOperand);
10144
int valueSlot =
MakeSlot
(conversionOperand);
11288
TrackNullableStateForAssignment(right, leftLValueType,
MakeSlot
(left), rightState,
MakeSlot
(right));
11590
valueSlot =
MakeSlot
(rightPart);
11614
int targetSlot =
MakeSlot
(variable.Expression);
11623
valueSlot =
MakeSlot
(rightPart);
11733
extensionReceiverSlot =
MakeSlot
(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand);
11900
TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot:
MakeSlot
(node.Operand), valueType: resultOfIncrementType);
11926
extensionReceiverSlot =
MakeSlot
(node.Left) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Left);
12041
Debug.Assert(
MakeSlot
(node) == -1);
12042
TrackNullableStateForAssignment(node, leftLvalueType,
MakeSlot
(node.Left), resultTypeWithState);
12351
slotToSet =
MakeSlot
(receiverOpt);