1 implementation of Adds
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
6444public bool Adds { get; }
5 references to Adds
ILLink.RoslynAnalyzer (1)
DataFlow\LocalDataFlowVisitor.cs (1)
434 if (operation.Adds) {
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
7320return new EventAssignmentOperation(visitedEventReference, visitedHandler, operation.Adds, semanticModel: null,
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (1)
1132var kindStr = operation.Adds ? "EventAdd" : "EventRemove";
Compilation\TestOperationVisitor.cs (1)
722var adds = operation.Adds;
Diagnostics\OperationTestAnalyzer.cs (1)
1042operationContext.ReportDiagnostic(Diagnostic.Create(eventAssignment.Adds ? HandlerAddedDescriptor : HandlerRemovedDescriptor, operationContext.Operation.Syntax.GetLocation()));