1 implementation of Event
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5532public IEventSymbol Event { get; }
12 references to Event
ILLink.RoslynAnalyzer (2)
DataFlow\LocalDataFlowVisitor.cs (2)
435 IMethodSymbol? addMethod = eventReference.Event.AddMethod; 441 IMethodSymbol? removeMethod = eventReference.Event.RemoveMethod;
Microsoft.CodeAnalysis (7)
Operations\ControlFlowGraphBuilder.cs (7)
6238return new EventReferenceOperation(eventReference.Event, eventReference.ConstrainedToType, instance, semanticModel: null, eventReference.Syntax, 7169IOperation? visitedInstance = operation.Event.IsStatic ? null : Visit(operation.Instance); 7170return new EventReferenceOperation(operation.Event, operation.ConstrainedToType, visitedInstance, semanticModel: null, 7298var eventReferenceInstance = eventReference.Event.IsStatic ? null : eventReference.Instance; 7307visitedEventReference = new EventReferenceOperation(eventReference.Event, eventReference.ConstrainedToType, visitedInstance, 7352VisitInstanceWithArguments(operation.EventReference.Event.IsStatic ? null : operation.EventReference.Instance, operation.Arguments); 7353var visitedEventReference = new EventReferenceOperation(operation.EventReference.Event, operation.EventReference.ConstrainedToType, visitedInstance,
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (1)
1119LogString($": {operation.Event.ToTestDisplayString()}");
Compilation\TestOperationVisitor.cs (1)
716Assert.Same(operation.Member, operation.Event);
Diagnostics\OperationTestAnalyzer.cs (1)
1392memberSymbol = ((IEventReferenceOperation)operation).Event;