1 implementation of Event
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5532
public 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)
6238
return new EventReferenceOperation(eventReference.
Event
, eventReference.ConstrainedToType, instance, semanticModel: null, eventReference.Syntax,
7169
IOperation? visitedInstance = operation.
Event
.IsStatic ? null : Visit(operation.Instance);
7170
return new EventReferenceOperation(operation.
Event
, operation.ConstrainedToType, visitedInstance, semanticModel: null,
7298
var eventReferenceInstance = eventReference.
Event
.IsStatic ? null : eventReference.Instance;
7307
visitedEventReference = new EventReferenceOperation(eventReference.
Event
, eventReference.ConstrainedToType, visitedInstance,
7352
VisitInstanceWithArguments(operation.EventReference.
Event
.IsStatic ? null : operation.EventReference.Instance, operation.Arguments);
7353
var visitedEventReference = new EventReferenceOperation(operation.EventReference.
Event
, operation.EventReference.ConstrainedToType, visitedInstance,
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (1)
1119
LogString($": {operation.
Event
.ToTestDisplayString()}");
Compilation\TestOperationVisitor.cs (1)
716
Assert.Same(operation.Member, operation.
Event
);
Diagnostics\OperationTestAnalyzer.cs (1)
1392
memberSymbol = ((IEventReferenceOperation)operation).
Event
;