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