1 implementation of Adds
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
6444
public 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)
7320
return new EventAssignmentOperation(visitedEventReference, visitedHandler, operation.
Adds
, semanticModel: null,
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (1)
1132
var kindStr = operation.
Adds
? "EventAdd" : "EventRemove";
Compilation\TestOperationVisitor.cs (1)
722
var adds = operation.
Adds
;
Diagnostics\OperationTestAnalyzer.cs (1)
1042
operationContext.ReportDiagnostic(Diagnostic.Create(eventAssignment.
Adds
? HandlerAddedDescriptor : HandlerRemovedDescriptor, operationContext.Operation.Syntax.GetLocation()));