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
2212
int containingSlot =
MakeSlot
(operand);
2228
return
MakeSlot
(conv.Operand);
3623
TrackNullableStateForAssignment(receiver, resultType, resultSlot, resultState,
MakeSlot
(receiver));
3775
TrackNullableStateForAssignment(initializer, type, slot, valueType,
MakeSlot
(initializer));
4449
int valueSlot =
MakeSlot
(operand);
4508
int operandSlot =
MakeSlot
(argument);
4766
TrackNullableStateForAssignment(node.Right, type, slot, resultType,
MakeSlot
(node.Right));
5053
TrackNullableStateForAssignment(argument, property.TypeWithAnnotations, slot, argumentType,
MakeSlot
(argument));
5944
slot =
MakeSlot
(conditional.Receiver);
5976
slot =
MakeSlot
(operand);
6040
var slot =
MakeSlot
(expressionWithoutConversion);
6148
int leftSlot =
MakeSlot
(leftOperand);
6173
TrackNullableStateForAssignment(rightOperand, targetType, leftSlot, rightResult,
MakeSlot
(rightOperand));
6332
var slot =
MakeSlot
(node);
6419
var slot =
MakeSlot
(expr);
6454
var slot =
MakeSlot
(receiver);
7944
?
MakeSlot
(receiverOpt)
8393
trackNullableStateForAssignment(receiverType, parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter);
8437
trackNullableStateForAssignment(receiverType, parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations, refKind, parameter);
9489
TrackNullableStateForAssignment(value, field.TypeWithAnnotations, targetSlot, valueType,
MakeSlot
(value));
10025
int operandSlot =
MakeSlot
(conversionOperand);
10082
int valueSlot =
MakeSlot
(conversionOperand);
10132
int valueSlot =
MakeSlot
(conversionOperand);
10158
int valueSlot =
MakeSlot
(conversionOperand);
11298
TrackNullableStateForAssignment(right, leftLValueType,
MakeSlot
(left), rightState,
MakeSlot
(right));
11600
valueSlot =
MakeSlot
(rightPart);
11624
int targetSlot =
MakeSlot
(variable.Expression);
11633
valueSlot =
MakeSlot
(rightPart);
11743
extensionReceiverSlot =
MakeSlot
(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand);
11910
TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot:
MakeSlot
(node.Operand), valueType: resultOfIncrementType);
11936
extensionReceiverSlot =
MakeSlot
(node.Left) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Left);
12051
Debug.Assert(
MakeSlot
(node) == -1);
12052
TrackNullableStateForAssignment(node, leftLvalueType,
MakeSlot
(node.Left), resultTypeWithState);
12361
slotToSet =
MakeSlot
(receiverOpt);
FlowAnalysis\NullableWalker_Patterns.cs (3)
29
int slot =
MakeSlot
(expression);
388
int originalInputSlot =
MakeSlot
(expression);
1206
return node.IsSuppressed ? GetOrCreatePlaceholderSlot(node) :
MakeSlot
(node);