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
2174
int containingSlot =
MakeSlot
(operand);
2190
return
MakeSlot
(conv.Operand);
3577
TrackNullableStateForAssignment(receiver, resultType, resultSlot, resultState,
MakeSlot
(receiver));
3702
TrackNullableStateForAssignment(initializer, type, slot, valueType,
MakeSlot
(initializer));
4374
int valueSlot =
MakeSlot
(operand);
4709
TrackNullableStateForAssignment(node.Right, type, slot, resultType,
MakeSlot
(node.Right));
4943
TrackNullableStateForAssignment(argument, property.TypeWithAnnotations, slot, argumentType,
MakeSlot
(argument));
5834
slot =
MakeSlot
(conditional.Receiver);
5866
slot =
MakeSlot
(operand);
5930
var slot =
MakeSlot
(expressionWithoutConversion);
6038
int leftSlot =
MakeSlot
(leftOperand);
6063
TrackNullableStateForAssignment(rightOperand, targetType, leftSlot, rightResult,
MakeSlot
(rightOperand));
6220
var slot =
MakeSlot
(node);
6307
var slot =
MakeSlot
(expr);
6342
var slot =
MakeSlot
(receiver);
7794
?
MakeSlot
(receiverOpt)
8224
trackNullableStateForAssignment(parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations);
8268
trackNullableStateForAssignment(parameterValue, lValueType,
MakeSlot
(argument), parameterWithState, argument.IsSuppressed, parameterAnnotations);
9301
TrackNullableStateForAssignment(value, field.TypeWithAnnotations, targetSlot, valueType,
MakeSlot
(value));
9798
int valueSlot =
MakeSlot
(conversionOperand);
9846
int valueSlot =
MakeSlot
(conversionOperand);
10820
TrackNullableStateForAssignment(right, leftLValueType,
MakeSlot
(left), rightState,
MakeSlot
(right));
11122
valueSlot =
MakeSlot
(rightPart);
11146
int targetSlot =
MakeSlot
(variable.Expression);
11155
valueSlot =
MakeSlot
(rightPart);
11265
extensionReceiverSlot =
MakeSlot
(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand);
11420
TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot:
MakeSlot
(node.Operand), valueType: resultOfIncrementType);
11446
extensionReceiverSlot =
MakeSlot
(node.Left) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Left);
11561
Debug.Assert(
MakeSlot
(node) == -1);
11562
TrackNullableStateForAssignment(node, leftLvalueType,
MakeSlot
(node.Left), resultTypeWithState);
11818
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);