1 write to IsAddition
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6207this.IsAddition = isAddition;
11 references to IsAddition
Microsoft.CodeAnalysis.CSharp (11)
Compilation\CSharpSemanticModel.cs (1)
3499var methodSymbol = eventAssignment.IsAddition ? eventSymbol.AddMethod : eventSymbol.RemoveMethod;
FlowAnalysis\NullableWalker.cs (1)
11702node.IsAddition ? GetState(ref this.State, memberSlot).Meet(ResultType.State) : NullableFlowState.MaybeNull);
Generated\BoundNodes.xml.Generated.cs (5)
6225if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(@event, this.Event) || isAddition != this.IsAddition || isDynamic != this.IsDynamic || receiverOpt != this.ReceiverOpt || argument != this.Argument || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11749return node.Update(node.Event, node.IsAddition, node.IsDynamic, receiverOpt, argument, type); 13957updatedNode = node.Update(@event, node.IsAddition, node.IsDynamic, receiverOpt, argument, infoAndType.Type!); 13962updatedNode = node.Update(@event, node.IsAddition, node.IsDynamic, receiverOpt, argument, node.Type); 16406new TreeDumperNode("isAddition", node.IsAddition, null),
Lowering\LocalRewriter\LocalRewriter_Event.cs (3)
50EventAssignmentKind kind = node.IsAddition ? EventAssignmentKind.Addition : EventAssignmentKind.Subtraction; 56MethodSymbol? method = node.IsAddition ? node.Event.AddMethod : node.Event.RemoveMethod; 305var addRemove = _factory.WellKnownMethod(node.IsAddition ? WellKnownMember.System_Runtime_InteropServices_ComAwareEventInfo__AddEventHandler :
Operations\CSharpOperationFactory.cs (1)
659bool adds = boundEventAssignmentOperator.IsAddition;