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
2210
int containingSlot =
MakeSlot
(operand);
2226
return
MakeSlot
(conv.Operand);
3614
TrackNullableStateForAssignment(receiver, resultType, resultSlot, resultState,
MakeSlot
(receiver));
3766
TrackNullableStateForAssignment(initializer, type, slot, valueType,
MakeSlot
(initializer));
4440
int valueSlot =
MakeSlot
(operand);
4499
int operandSlot =
MakeSlot
(argument);
4820
TrackNullableStateForAssignment(node.Right, type, slot, resultType,
MakeSlot
(node.Right));
5055
TrackNullableStateForAssignment(argument, property.TypeWithAnnotations, slot, argumentType,
MakeSlot
(argument));
5946
slot =
MakeSlot
(conditional.Receiver);
5978
slot =
MakeSlot
(operand);
6042
var slot =
MakeSlot
(expressionWithoutConversion);
6150
int leftSlot =
MakeSlot
(leftOperand);
6175
TrackNullableStateForAssignment(rightOperand, targetType, leftSlot, rightResult,
MakeSlot
(rightOperand));
6334
var slot =
MakeSlot
(node);
6421
var slot =
MakeSlot
(expr);
6456
var slot =
MakeSlot
(receiver);
7917
?
MakeSlot
(receiverOpt)
8366
trackNullableStateForAssignment(receiverType, parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter);
8410
trackNullableStateForAssignment(receiverType, parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter);
9462
TrackNullableStateForAssignment(value, field.TypeWithAnnotations, targetSlot, valueType,
MakeSlot
(value));
9998
int operandSlot =
MakeSlot
(conversionOperand);
10055
int valueSlot =
MakeSlot
(conversionOperand);
10105
int valueSlot =
MakeSlot
(conversionOperand);
10131
int valueSlot =
MakeSlot
(conversionOperand);
11269
TrackNullableStateForAssignment(right, leftLValueType,
MakeSlot
(left), rightState,
MakeSlot
(right));
11572
valueSlot =
MakeSlot
(rightPart);
11596
int targetSlot =
MakeSlot
(variable.Expression);
11605
valueSlot =
MakeSlot
(rightPart);
11715
extensionReceiverSlot =
MakeSlot
(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand);
11882
TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot:
MakeSlot
(node.Operand), valueType: resultOfIncrementType);
11908
extensionReceiverSlot =
MakeSlot
(node.Left) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Left);
12023
Debug.Assert(
MakeSlot
(node) == -1);
12024
TrackNullableStateForAssignment(node, leftLvalueType,
MakeSlot
(node.Left), resultTypeWithState);
12293
slotToSet =
MakeSlot
(receiverOpt);
FlowAnalysis\NullableWalker_Patterns.cs (3)
29
int slot =
MakeSlot
(expression);
388
int originalInputSlot =
MakeSlot
(expression);
1152
return node.IsSuppressed ? GetOrCreatePlaceholderSlot(node) :
MakeSlot
(node);