Base:
method
MakeSlot
Microsoft.CodeAnalysis.CSharp.LocalDataFlowPass<TLocalState, TLocalFunctionState>.MakeSlot(Microsoft.CodeAnalysis.CSharp.BoundExpression)
35 references to MakeSlot
Microsoft.CodeAnalysis.CSharp (35)
FlowAnalysis\NullableWalker.cs (32)
432
/// Used to allow <see cref="
MakeSlot
(BoundExpression)"/> to substitute the correct slot for a <see cref="BoundConditionalReceiver"/> when
2149
int containingSlot =
MakeSlot
(operand);
2165
return
MakeSlot
(conv.Operand);
3553
TrackNullableStateForAssignment(receiver, resultType, resultSlot, resultState,
MakeSlot
(receiver));
3680
TrackNullableStateForAssignment(initializer, type, slot, valueType,
MakeSlot
(initializer));
4219
int valueSlot =
MakeSlot
(operand);
4493
TrackNullableStateForAssignment(node.Right, type, slot, resultType,
MakeSlot
(node.Right));
4727
TrackNullableStateForAssignment(argument, property.TypeWithAnnotations, slot, argumentType,
MakeSlot
(argument));
5618
slot =
MakeSlot
(conditional.Receiver);
5650
slot =
MakeSlot
(operand);
5714
var slot =
MakeSlot
(expressionWithoutConversion);
5822
int leftSlot =
MakeSlot
(leftOperand);
5847
TrackNullableStateForAssignment(rightOperand, targetType, leftSlot, rightResult,
MakeSlot
(rightOperand));
6004
var slot =
MakeSlot
(node);
6091
var slot =
MakeSlot
(expr);
6126
var slot =
MakeSlot
(receiver);
7542
?
MakeSlot
(receiverOpt)
7972
trackNullableStateForAssignment(parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations);
8016
trackNullableStateForAssignment(parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations);
8991
TrackNullableStateForAssignment(value, field.TypeWithAnnotations, targetSlot, valueType,
MakeSlot
(value));
9488
int valueSlot =
MakeSlot
(conversionOperand);
9536
int valueSlot =
MakeSlot
(conversionOperand);
10503
TrackNullableStateForAssignment(right, leftLValueType,
MakeSlot
(left), rightState,
MakeSlot
(right));
10807
valueSlot =
MakeSlot
(rightPart);
10840
valueSlot =
MakeSlot
(rightPart);
10950
extensionReceiverSlot =
MakeSlot
(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand);
11102
TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot:
MakeSlot
(node.Operand), valueType: resultOfIncrementType);
11128
extensionReceiverSlot =
MakeSlot
(node.Left) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Left);
11240
Debug.Assert(
MakeSlot
(node) == -1);
11241
TrackNullableStateForAssignment(node, leftLvalueType,
MakeSlot
(node.Left), resultTypeWithState);
11483
int containingSlot =
MakeSlot
(receiverOpt);
FlowAnalysis\NullableWalker_Patterns.cs (3)
28
int slot =
MakeSlot
(expression);
386
int originalInputSlot =
MakeSlot
(expression);
1050
return node.IsSuppressed ? GetOrCreatePlaceholderSlot(node) :
MakeSlot
(node);