1 write to Operand
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1260this.Operand = operand;
29 references to Operand
Microsoft.CodeAnalysis.CSharp (29)
Binder\Binder.ValueChecks.cs (3)
285ArgsOpt = [incrementOperator.Operand], 4663return GetValEscape(increment.Operand); 5420return CheckValEscape(node, increment.Operand, escapeTo, checkingReceiver: false, diagnostics: diagnostics);
Compilation\CSharpSemanticModel.cs (1)
3863TypeSymbol opType = increment.Operand.Type.StrippedType();
FlowAnalysis\AbstractFlowPass.cs (3)
2882if (RegularPropertyAccess(node.Operand)) 2884var left = (BoundPropertyAccess)node.Operand; 2898VisitRvalue(node.Operand);
FlowAnalysis\DefiniteAssignment.cs (1)
2463Assign(node.Operand, value: node);
FlowAnalysis\NullableWalker.cs (9)
11664extensionReceiverSlot = MakeSlot(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand); 11667TypeWithState receiverType = VisitAndCheckReceiver(node.Operand, instanceMethod); 11670node.Operand, 11706var opType = VisitRvalueWithState(node.Operand); 11721var operandType = VisitRvalueWithState(node.Operand); 11733incrementOperator = ReInferUnaryOperator(node.Syntax, incrementOperator, node.Operand, GetNullableUnderlyingTypeIfNecessary(isLifted, operandType)); 11780node.Operand, 11827TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot: MakeSlot(node.Operand), valueType: resultOfIncrementType);
Generated\BoundNodes.xml.Generated.cs (5)
1288if (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)) 10135this.Visit(node.Operand); 11270BoundExpression operand = (BoundExpression)this.Visit(node.Operand); 13042BoundExpression operand = (BoundExpression)this.Visit(node.Operand); 15695new TreeDumperNode("operand", null, new TreeDumperNode[] { Visit(node.Operand, null) }),
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (6)
408Debug.Assert(node.OperandConversion is null || (node.Operand.Type!.IsReferenceType && node.MethodOpt.IsExtensionBlockMember())); 416ApplyConversionIfNotIdentity(node.OperandConversion, node.OperandPlaceholder, VisitExpression(node.Operand)), 421TypeSymbol? operandType = node.Operand.Type; //type of the variable being incremented 435boundTemp = _factory.StoreToTemp(VisitExpression(node.Operand), out tempAssignment); 453return MakeInstanceCompoundAssignmentOperatorResult(node.Syntax, node.Operand, rightOpt: null, node.MethodOpt, node.OperatorKind.IsChecked(), AssignmentKind.IncrementDecrement); 585BoundExpression transformedLHS = TransformCompoundAssignmentLHS(node.Operand, tempInitializers, tempSymbols, isDynamic);
Operations\CSharpOperationFactory.cs (1)
1466IOperation target = Create(boundIncrementOperator.Operand);