1 write to Operand
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1214
this.
Operand
= operand;
28 references to Operand
Microsoft.CodeAnalysis.CSharp (28)
Binder\Binder.ValueChecks.cs (2)
4491
return GetValEscape(((BoundIncrementOperator)expr).
Operand
, localScopeDepth);
5287
return CheckValEscape(node, increment.
Operand
, escapeFrom, escapeTo, checkingReceiver: false, diagnostics: diagnostics);
Compilation\CSharpSemanticModel.cs (1)
3844
TypeSymbol opType = increment.
Operand
.Type.StrippedType();
FlowAnalysis\AbstractFlowPass.cs (3)
2832
if (RegularPropertyAccess(node.
Operand
))
2834
var left = (BoundPropertyAccess)node.
Operand
;
2848
VisitRvalue(node.
Operand
);
FlowAnalysis\DefiniteAssignment.cs (1)
2519
Assign(node.
Operand
, value: node);
FlowAnalysis\NullableWalker.cs (9)
10950
extensionReceiverSlot = MakeSlot(node.
Operand
) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.
Operand
);
10953
TypeWithState receiverType = VisitAndCheckReceiver(node.
Operand
, instanceMethod);
10956
node.
Operand
,
10989
var opType = VisitRvalueWithState(node.
Operand
);
11004
var operandType = VisitRvalueWithState(node.
Operand
);
11016
incrementOperator = ReInferUnaryOperator(node.Syntax, incrementOperator, node.
Operand
, GetNullableUnderlyingTypeIfNecessary(isLifted, operandType));
11055
node.
Operand
,
11102
TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot: MakeSlot(node.
Operand
), valueType: resultOfIncrementType);
Generated\BoundNodes.xml.Generated.cs (5)
1242
if (operatorKind != this.OperatorKind || operand != this.
Operand
|| !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(methodOpt, this.MethodOpt) || !TypeSymbol.Equals(constrainedToTypeOpt, this.ConstrainedToTypeOpt, TypeCompareKind.ConsiderEverything) || operandPlaceholder != this.OperandPlaceholder || operandConversion != this.OperandConversion || resultPlaceholder != this.ResultPlaceholder || resultConversion != this.ResultConversion || resultKind != this.ResultKind || originalUserDefinedOperatorsOpt != this.OriginalUserDefinedOperatorsOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
9873
this.Visit(node.
Operand
);
10977
BoundExpression operand = (BoundExpression)this.Visit(node.
Operand
);
12704
BoundExpression operand = (BoundExpression)this.Visit(node.
Operand
);
15322
new TreeDumperNode("operand", null, new TreeDumperNode[] { Visit(node.
Operand
, null) }),
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (6)
408
Debug.Assert(node.OperandConversion is null || (node.
Operand
.Type!.IsReferenceType && node.MethodOpt.GetIsNewExtensionMember()));
416
ApplyConversionIfNotIdentity(node.OperandConversion, node.OperandPlaceholder, VisitExpression(node.
Operand
)),
421
TypeSymbol? operandType = node.
Operand
.Type; //type of the variable being incremented
435
boundTemp = _factory.StoreToTemp(VisitExpression(node.
Operand
), out tempAssignment);
453
return MakeInstanceCompoundAssignmentOperatorResult(node.Syntax, node.
Operand
, rightOpt: null, node.MethodOpt, node.OperatorKind.IsChecked());
585
BoundExpression transformedLHS = TransformCompoundAssignmentLHS(node.
Operand
, isRegularCompoundAssignment: true, tempInitializers, tempSymbols, isDynamic);
Operations\CSharpOperationFactory.cs (1)
1391
IOperation target = Create(boundIncrementOperator.
Operand
);