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
2174
int containingSlot =
MakeSlot
(operand);
2190
return
MakeSlot
(conv.Operand);
3578
TrackNullableStateForAssignment(receiver, resultType, resultSlot, resultState,
MakeSlot
(receiver));
3730
TrackNullableStateForAssignment(initializer, type, slot, valueType,
MakeSlot
(initializer));
4402
int valueSlot =
MakeSlot
(operand);
4460
int operandSlot =
MakeSlot
(argument);
4781
TrackNullableStateForAssignment(node.Right, type, slot, resultType,
MakeSlot
(node.Right));
5015
TrackNullableStateForAssignment(argument, property.TypeWithAnnotations, slot, argumentType,
MakeSlot
(argument));
5906
slot =
MakeSlot
(conditional.Receiver);
5938
slot =
MakeSlot
(operand);
6002
var slot =
MakeSlot
(expressionWithoutConversion);
6110
int leftSlot =
MakeSlot
(leftOperand);
6135
TrackNullableStateForAssignment(rightOperand, targetType, leftSlot, rightResult,
MakeSlot
(rightOperand));
6294
var slot =
MakeSlot
(node);
6381
var slot =
MakeSlot
(expr);
6416
var slot =
MakeSlot
(receiver);
7868
?
MakeSlot
(receiverOpt)
8323
trackNullableStateForAssignment(parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter);
8367
trackNullableStateForAssignment(parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter);
9425
TrackNullableStateForAssignment(value, field.TypeWithAnnotations, targetSlot, valueType,
MakeSlot
(value));
9963
int operandSlot =
MakeSlot
(conversionOperand);
10020
int valueSlot =
MakeSlot
(conversionOperand);
10070
int valueSlot =
MakeSlot
(conversionOperand);
10096
int valueSlot =
MakeSlot
(conversionOperand);
11219
TrackNullableStateForAssignment(right, leftLValueType,
MakeSlot
(left), rightState,
MakeSlot
(right));
11521
valueSlot =
MakeSlot
(rightPart);
11545
int targetSlot =
MakeSlot
(variable.Expression);
11554
valueSlot =
MakeSlot
(rightPart);
11664
extensionReceiverSlot =
MakeSlot
(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand);
11827
TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot:
MakeSlot
(node.Operand), valueType: resultOfIncrementType);
11853
extensionReceiverSlot =
MakeSlot
(node.Left) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Left);
11968
Debug.Assert(
MakeSlot
(node) == -1);
11969
TrackNullableStateForAssignment(node, leftLvalueType,
MakeSlot
(node.Left), resultTypeWithState);
12238
slotToSet =
MakeSlot
(receiverOpt);
FlowAnalysis\NullableWalker_Patterns.cs (3)
28
int slot =
MakeSlot
(expression);
386
int originalInputSlot =
MakeSlot
(expression);
1150
return node.IsSuppressed ? GetOrCreatePlaceholderSlot(node) :
MakeSlot
(node);