1 write to Operand
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1233this.Operand = operand;
22 references to Operand
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder.ValueChecks.cs (2)
4490return GetValEscape(((BoundIncrementOperator)expr).Operand, localScopeDepth); 5286return CheckValEscape(node, increment.Operand, escapeFrom, escapeTo, checkingReceiver: false, diagnostics: diagnostics);
Compilation\CSharpSemanticModel.cs (1)
3841TypeSymbol opType = increment.Operand.Type.StrippedType();
FlowAnalysis\AbstractFlowPass.cs (3)
2811if (RegularPropertyAccess(node.Operand)) 2813var left = (BoundPropertyAccess)node.Operand; 2827VisitRvalue(node.Operand);
FlowAnalysis\DefiniteAssignment.cs (1)
2518Assign(node.Operand, value: node);
FlowAnalysis\NullableWalker.cs (4)
10791var operandType = VisitRvalueWithState(node.Operand); 10801CheckCallReceiver(node.Operand, operandType, node.MethodOpt ?? node.OriginalUserDefinedOperatorsOpt[0]); 10837node.Operand, 10884TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot: MakeSlot(node.Operand), valueType: resultOfIncrementType);
Generated\BoundNodes.xml.Generated.cs (5)
1261if (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)) 9888this.Visit(node.Operand); 10992BoundExpression operand = (BoundExpression)this.Visit(node.Operand); 12719BoundExpression operand = (BoundExpression)this.Visit(node.Operand); 15360new TreeDumperNode("operand", null, new TreeDumperNode[] { Visit(node.Operand, null) }),
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (5)
413return BoundCall.Synthesized(syntax, VisitExpression(node.Operand), initialBindingReceiverIsSubjectToCloning: ThreeState.False, node.MethodOpt); 416TypeSymbol? operandType = node.Operand.Type; //type of the variable being incremented 430boundTemp = _factory.StoreToTemp(VisitExpression(node.Operand), out tempAssignment); 439return MakeInstanceCompoundAssignmentOperatorResult(node.Syntax, node.Operand, rightOpt: null, node.MethodOpt, node.OperatorKind.IsChecked()); 571BoundExpression transformedLHS = TransformCompoundAssignmentLHS(node.Operand, isRegularCompoundAssignment: true, tempInitializers, tempSymbols, isDynamic);
Operations\CSharpOperationFactory.cs (1)
1391IOperation target = Create(boundIncrementOperator.Operand);