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)
438
/// Used to allow <see cref="
MakeSlot
(BoundExpression)"/> to substitute the correct slot for a <see cref="BoundConditionalReceiver"/> when
2155
int containingSlot =
MakeSlot
(operand);
2171
return
MakeSlot
(conv.Operand);
3559
TrackNullableStateForAssignment(receiver, resultType, resultSlot, resultState,
MakeSlot
(receiver));
3686
TrackNullableStateForAssignment(initializer, type, slot, valueType,
MakeSlot
(initializer));
4225
int valueSlot =
MakeSlot
(operand);
4500
TrackNullableStateForAssignment(node.Right, type, slot, resultType,
MakeSlot
(node.Right));
4734
TrackNullableStateForAssignment(argument, property.TypeWithAnnotations, slot, argumentType,
MakeSlot
(argument));
5625
slot =
MakeSlot
(conditional.Receiver);
5657
slot =
MakeSlot
(operand);
5721
var slot =
MakeSlot
(expressionWithoutConversion);
5829
int leftSlot =
MakeSlot
(leftOperand);
5854
TrackNullableStateForAssignment(rightOperand, targetType, leftSlot, rightResult,
MakeSlot
(rightOperand));
6011
var slot =
MakeSlot
(node);
6098
var slot =
MakeSlot
(expr);
6133
var slot =
MakeSlot
(receiver);
7545
?
MakeSlot
(receiverOpt)
7975
trackNullableStateForAssignment(parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations);
8019
trackNullableStateForAssignment(parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations);
8995
TrackNullableStateForAssignment(value, field.TypeWithAnnotations, targetSlot, valueType,
MakeSlot
(value));
9492
int valueSlot =
MakeSlot
(conversionOperand);
9540
int valueSlot =
MakeSlot
(conversionOperand);
10515
TrackNullableStateForAssignment(right, leftLValueType,
MakeSlot
(left), rightState,
MakeSlot
(right));
10819
valueSlot =
MakeSlot
(rightPart);
10843
int targetSlot =
MakeSlot
(variable.Expression);
10852
valueSlot =
MakeSlot
(rightPart);
10962
extensionReceiverSlot =
MakeSlot
(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand);
11114
TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot:
MakeSlot
(node.Operand), valueType: resultOfIncrementType);
11140
extensionReceiverSlot =
MakeSlot
(node.Left) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Left);
11252
Debug.Assert(
MakeSlot
(node) == -1);
11253
TrackNullableStateForAssignment(node, leftLvalueType,
MakeSlot
(node.Left), resultTypeWithState);
11501
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);