2 types derived from SourceEventSymbol
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\SourceCustomEventSymbol.cs (1)
17internal sealed class SourceCustomEventSymbol : SourceEventSymbol
Symbols\Source\SourceFieldLikeEventSymbol.cs (1)
21internal sealed class SourceFieldLikeEventSymbol : SourceEventSymbol
22 references to SourceEventSymbol
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder_Operators.cs (1)
295Error(diagnostics, ErrorCode.ERR_MissingPredefinedMember, node, delegateType, SourceEventSymbol.GetAccessorName(eventSymbol.Name, isAddition));
Binder\BinderFactory.BinderFactoryVisitor.cs (4)
303var eventSymbol = GetEventSymbol((EventDeclarationSyntax)propertyOrEventDecl, resultBinder); 543private SourceEventSymbol GetEventSymbol(EventDeclarationSyntax eventDeclarationSyntax, Binder outerBinder) 547return (SourceEventSymbol)_memberOpt; 557return (SourceEventSymbol)GetMemberSymbol(eventName, eventDeclarationSyntax.Span, container, SymbolKind.Event);
Compiler\MethodBodySynthesizer.cs (3)
215internal static BoundBlock ConstructFieldLikeEventAccessorBody(SourceEventSymbol eventSymbol, bool isAddMethod, CSharpCompilation compilation, BindingDiagnosticBag diagnostics) 232internal static BoundBlock ConstructFieldLikeEventAccessorBody_WinRT(SourceEventSymbol eventSymbol, bool isAddMethod, CSharpCompilation compilation, BindingDiagnosticBag diagnostics) 344internal static BoundBlock ConstructFieldLikeEventAccessorBody_Regular(SourceEventSymbol eventSymbol, bool isAddMethod, CSharpCompilation compilation, BindingDiagnosticBag diagnostics)
Symbols\Source\SourceCustomEventAccessorSymbol.cs (1)
23SourceEventSymbol @event,
Symbols\Source\SourceEventAccessorSymbol.cs (6)
17private readonly SourceEventSymbol _event; 25SourceEventSymbol @event, 55name = SourceEventSymbol.GetAccessorName(@event.Name, isAdder); 61string accessorName = (object)implementedAccessor != null ? implementedAccessor.Name : SourceEventSymbol.GetAccessorName(explicitlyImplementedEventOpt.Name, isAdder); 89public SourceEventSymbol AssociatedEvent 206protected string GetOverriddenAccessorName(SourceEventSymbol @event, bool isAdder)
Symbols\Source\SourceEventFieldSymbol.cs (2)
23private readonly SourceEventSymbol _associatedEvent; 25internal SourceEventFieldSymbol(SourceEventSymbol associatedEvent, VariableDeclaratorSyntax declaratorSyntax, BindingDiagnosticBag discardedDiagnostics)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
3887string accessorName = SourceEventSymbol.GetAccessorName(eventSymbol.Name, isAdder);
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
635var isNewEvent = ((SourceEventSymbol)@event).IsNew;
Symbols\Synthesized\SynthesizedAccessorValueParameterSymbol.cs (1)
126SourceEventSymbol @event = accessor.AssociatedEvent;
Symbols\Synthesized\SynthesizedEventAccessorSymbol.cs (2)
28internal SynthesizedEventAccessorSymbol(SourceEventSymbol @event, bool isAdder, bool isExpressionBodied, EventSymbol explicitlyImplementedEventOpt = null, string aliasQualifierOpt = null) 127SourceEventSymbol fieldLikeEvent = AssociatedEvent;