Base:
method
MakeSlot
Microsoft.CodeAnalysis.CSharp.LocalDataFlowPass<TLocalState, TLocalFunctionState>.MakeSlot(Microsoft.CodeAnalysis.CSharp.BoundExpression)
36 references to MakeSlot
Microsoft.CodeAnalysis.CSharp (36)
FlowAnalysis\NullableWalker.cs (33)
457
/// Used to allow <see cref="
MakeSlot
(BoundExpression)"/> to substitute the correct slot for a <see cref="BoundConditionalReceiver"/> when
2173
int containingSlot =
MakeSlot
(operand);
2189
return
MakeSlot
(conv.Operand);
3576
TrackNullableStateForAssignment(receiver, resultType, resultSlot, resultState,
MakeSlot
(receiver));
3701
TrackNullableStateForAssignment(initializer, type, slot, valueType,
MakeSlot
(initializer));
4239
int valueSlot =
MakeSlot
(operand);
4551
TrackNullableStateForAssignment(node.Right, type, slot, resultType,
MakeSlot
(node.Right));
4785
TrackNullableStateForAssignment(argument, property.TypeWithAnnotations, slot, argumentType,
MakeSlot
(argument));
5676
slot =
MakeSlot
(conditional.Receiver);
5708
slot =
MakeSlot
(operand);
5772
var slot =
MakeSlot
(expressionWithoutConversion);
5880
int leftSlot =
MakeSlot
(leftOperand);
5905
TrackNullableStateForAssignment(rightOperand, targetType, leftSlot, rightResult,
MakeSlot
(rightOperand));
6062
var slot =
MakeSlot
(node);
6149
var slot =
MakeSlot
(expr);
6184
var slot =
MakeSlot
(receiver);
7637
?
MakeSlot
(receiverOpt)
8067
trackNullableStateForAssignment(parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations);
8111
trackNullableStateForAssignment(parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations);
9133
TrackNullableStateForAssignment(value, field.TypeWithAnnotations, targetSlot, valueType,
MakeSlot
(value));
9630
int valueSlot =
MakeSlot
(conversionOperand);
9678
int valueSlot =
MakeSlot
(conversionOperand);
10653
TrackNullableStateForAssignment(right, leftLValueType,
MakeSlot
(left), rightState,
MakeSlot
(right));
10955
valueSlot =
MakeSlot
(rightPart);
10979
int targetSlot =
MakeSlot
(variable.Expression);
10988
valueSlot =
MakeSlot
(rightPart);
11098
extensionReceiverSlot =
MakeSlot
(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand);
11249
TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot:
MakeSlot
(node.Operand), valueType: resultOfIncrementType);
11275
extensionReceiverSlot =
MakeSlot
(node.Left) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Left);
11386
Debug.Assert(
MakeSlot
(node) == -1);
11387
TrackNullableStateForAssignment(node, leftLvalueType,
MakeSlot
(node.Left), resultTypeWithState);
11635
int containingSlot =
MakeSlot
(receiverOpt);
FlowAnalysis\NullableWalker_Patterns.cs (3)
28
int slot =
MakeSlot
(expression);
386
int originalInputSlot =
MakeSlot
(expression);
1052
return node.IsSuppressed ? GetOrCreatePlaceholderSlot(node) :
MakeSlot
(node);