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