1 implementation of IEventReferenceOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5523internal sealed partial class EventReferenceOperation : BaseMemberReferenceOperation, IEventReferenceOperation
31 references to IEventReferenceOperation
ILLink.RoslynAnalyzer (6)
DataFlow\LocalDataFlowVisitor.cs (4)
287 case IEventReferenceOperation eventRef: { 431 var eventReference = (IEventReferenceOperation) operation.EventReference; 621 public override TValue VisitEventReference (IEventReferenceOperation operation, LocalDataFlowState<TValue, TContext, TValueLattice, TContextLattice> state)
IOperationExtensions.cs (1)
266 case IEventReferenceOperation:
RequiresAnalyzerBase.cs (1)
216 case IEventReferenceOperation when targets.HasFlag (DiagnosticTargets.Event):
Microsoft.AspNetCore.Components.Analyzers (1)
InternalUsageAnalyzer.cs (1)
68IEventReferenceOperation @event => @event.Member,
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
InternalUsageAnalyzer.cs (1)
68IEventReferenceOperation @event => @event.Member,
Microsoft.CodeAnalysis (14)
Generated\OperationKind.Generated.cs (1)
76/// <summary>Indicates an <see cref="IEventReferenceOperation"/>.</summary>
Generated\Operations.Generated.cs (6)
655IEventReferenceOperation EventReference { get; } 5010internal RaiseEventOperation(IEventReferenceOperation eventReference, ImmutableArray<IArgumentOperation> arguments, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit) 5016public IEventReferenceOperation EventReference { get; } 10936public override IOperation VisitEventReference(IEventReferenceOperation operation, object? argument) 11444public virtual void VisitEventReference(IEventReferenceOperation operation) => DefaultVisit(operation); 11583public virtual TResult? VisitEventReference(IEventReferenceOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (7)
6236var eventReference = (IEventReferenceOperation)originalTarget; 6286or IEventReferenceOperation 7167public override IOperation VisitEventReference(IEventReferenceOperation operation, int? captureIdForResult) 7294IEventReferenceOperation? eventReference = getEventReference(); 7323IEventReferenceOperation? getEventReference() 7332return (IEventReferenceOperation)current;
Microsoft.CodeAnalysis.CSharp (2)
Operations\CSharpOperationFactory.cs (1)
643private IEventReferenceOperation CreateBoundEventAccessOperation(BoundEventAccess boundEventAccess)
Operations\CSharpOperationFactory_Methods.cs (1)
124internal IEventReferenceOperation CreateBoundEventAccessOperation(BoundEventAssignmentOperator boundEventAssignmentOperator)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\MakeStructMemberReadOnly\CSharpMakeStructMemberReadOnlyAnalyzer.cs (1)
321if (operation is IEventReferenceOperation eventReference &&
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\MakeStructMemberReadOnly\CSharpMakeStructMemberReadOnlyAnalyzer.cs (1)
321if (operation is IEventReferenceOperation eventReference &&
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\OperationTreeVerifier.cs (2)
1116public override void VisitEventReference(IEventReferenceOperation operation) 1118LogString(nameof(IEventReferenceOperation));
Compilation\TestOperationVisitor.cs (1)
711public override void VisitEventReference(IEventReferenceOperation operation)
Diagnostics\OperationTestAnalyzer.cs (2)
1392memberSymbol = ((IEventReferenceOperation)operation).Event; 1393receiver = ((IEventReferenceOperation)operation).Instance;