1 write to Operand
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1214this.Operand = operand;
28 references to Operand
Microsoft.CodeAnalysis.CSharp (28)
Binder\Binder.ValueChecks.cs (2)
4491return GetValEscape(((BoundIncrementOperator)expr).Operand, localScopeDepth); 5287return CheckValEscape(node, increment.Operand, escapeFrom, escapeTo, checkingReceiver: false, diagnostics: diagnostics);
Compilation\CSharpSemanticModel.cs (1)
3844TypeSymbol opType = increment.Operand.Type.StrippedType();
FlowAnalysis\AbstractFlowPass.cs (3)
2832if (RegularPropertyAccess(node.Operand)) 2834var left = (BoundPropertyAccess)node.Operand; 2848VisitRvalue(node.Operand);
FlowAnalysis\DefiniteAssignment.cs (1)
2519Assign(node.Operand, value: node);
FlowAnalysis\NullableWalker.cs (9)
10950extensionReceiverSlot = MakeSlot(node.Operand) is > 0 and int slot ? slot : GetOrCreatePlaceholderSlot(node.Operand); 10953TypeWithState receiverType = VisitAndCheckReceiver(node.Operand, instanceMethod); 10956node.Operand, 10989var opType = VisitRvalueWithState(node.Operand); 11004var operandType = VisitRvalueWithState(node.Operand); 11016incrementOperator = ReInferUnaryOperator(node.Syntax, incrementOperator, node.Operand, GetNullableUnderlyingTypeIfNecessary(isLifted, operandType)); 11055node.Operand, 11102TrackNullableStateForAssignment(node, targetType: operandLvalue, targetSlot: MakeSlot(node.Operand), valueType: resultOfIncrementType);
Generated\BoundNodes.xml.Generated.cs (5)
1242if (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)) 9873this.Visit(node.Operand); 10977BoundExpression operand = (BoundExpression)this.Visit(node.Operand); 12704BoundExpression operand = (BoundExpression)this.Visit(node.Operand); 15322new 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.GetIsNewExtensionMember())); 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()); 585BoundExpression transformedLHS = TransformCompoundAssignmentLHS(node.Operand, isRegularCompoundAssignment: true, tempInitializers, tempSymbols, isDynamic);
Operations\CSharpOperationFactory.cs (1)
1391IOperation target = Create(boundIncrementOperator.Operand);