5 types derived from EventSymbol
Microsoft.CodeAnalysis.VisualBasic (5)
Symbols\Metadata\PE\PEEventSymbol.vb (1)
25
Inherits
EventSymbol
Symbols\Retargeting\RetargetingEventSymbol.vb (1)
15
Inherits
EventSymbol
Symbols\Source\SourceEventSymbol.vb (1)
17
Inherits
EventSymbol
Symbols\SubstitutedEventSymbol.vb (1)
16
Inherits
EventSymbol
Symbols\Wrapped\WrappedEventSymbol.vb (1)
18
Inherits
EventSymbol
121 references to EventSymbol
Microsoft.CodeAnalysis.VisualBasic (121)
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (6)
99
Dim eventsToHookup As ArrayBuilder(Of ValueTuple(Of
EventSymbol
, PropertySymbol)) = Nothing
166
eventsToHookup = ArrayBuilder(Of ValueTuple(Of
EventSymbol
, PropertySymbol)).GetInstance
171
eventsToHookup.Add(New ValueTuple(Of
EventSymbol
, PropertySymbol)(
172
DirectCast(handledEvent.EventSymbol,
EventSymbol
),
231
Dim eventSymbol As
EventSymbol
= eventsToHookup(i).Item1
312
Dim eventSymbol As
EventSymbol
= eventsToHookup(i).Item1
Emit\EventSymbolAdapter.vb (2)
169
Friend ReadOnly Property AdaptedEventSymbol As
EventSymbol
171
Friend Sub New(underlyingEventSymbol As
EventSymbol
)
Emit\NamedTypeSymbolAdapter.vb (3)
257
For Each e As
EventSymbol
In AdaptedNamedTypeSymbol.GetEventsToEmit()
904
Friend Overridable Iterator Function GetEventsToEmit() As IEnumerable(Of
EventSymbol
)
909
Yield DirectCast(member,
EventSymbol
)
Symbols\EventSignatureComparer.vb (6)
19
Implements IEqualityComparer(Of
EventSymbol
)
109
Public Overloads Function Equals(event1 As
EventSymbol
, event2 As
EventSymbol
) As Boolean _
110
Implements IEqualityComparer(Of
EventSymbol
).Equals
150
Public Overloads Function GetHashCode([event] As
EventSymbol
) As Integer _
151
Implements IEqualityComparer(Of
EventSymbol
).GetHashCode
Symbols\EventSymbol.vb (9)
39
Public Overridable Shadows ReadOnly Property OriginalDefinition As
EventSymbol
100
Public ReadOnly Property OverriddenEvent As
EventSymbol
107
Return OverriddenMembersResult(Of
EventSymbol
).GetOverriddenMember(Me, Me.OriginalDefinition.OverriddenEvent)
114
Friend Overridable ReadOnly Property OverriddenOrHiddenMembers As OverriddenMembersResult(Of
EventSymbol
)
118
Return OverrideHidingHelper(Of
EventSymbol
).MakeOverriddenMembers(Me)
128
Public MustOverride ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of
EventSymbol
)
272
Public Overridable ReadOnly Property TupleUnderlyingEvent() As
EventSymbol
347
Dim other As
EventSymbol
= TryCast(obj,
EventSymbol
)
Symbols\MemberSignatureComparer.vb (3)
60
Return _eventComparer.Equals(DirectCast(sym1,
EventSymbol
), DirectCast(sym2,
EventSymbol
))
77
Return _eventComparer.GetHashCode(DirectCast(sym,
EventSymbol
))
Symbols\Metadata\PE\PEEventSymbol.vb (3)
272
Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of
EventSymbol
)
275
Return ImmutableArray(Of
EventSymbol
).Empty
280
Dim builder = ArrayBuilder(Of
EventSymbol
).GetInstance()
Symbols\Metadata\PE\PENamedTypeSymbol.vb (2)
604
Friend Overrides Function GetEventsToEmit() As IEnumerable(Of
EventSymbol
)
605
Return GetMembers(Of
EventSymbol
)(GetMembers(), SymbolKind.Event)
Symbols\Metadata\PE\PEPropertyOrEventHelpers.vb (2)
21
Friend Shared Function GetEventsForExplicitlyImplementedAccessor(accessor As MethodSymbol) As ISet(Of
EventSymbol
)
22
Return GetSymbolsForExplicitlyImplementedAccessor(Of
EventSymbol
)(accessor)
Symbols\Retargeting\RetargetingEventSymbol.vb (7)
25
Private ReadOnly _underlyingEvent As
EventSymbol
33
Private _lazyExplicitInterfaceImplementations As ImmutableArray(Of
EventSymbol
)
37
Public Sub New(retargetingModule As RetargetingModuleSymbol, underlyingEvent As
EventSymbol
)
55
Public ReadOnly Property UnderlyingEvent As
EventSymbol
99
Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of
EventSymbol
)
112
Private Function RetargetExplicitInterfaceImplementations() As ImmutableArray(Of
EventSymbol
)
118
Dim builder = ArrayBuilder(Of
EventSymbol
).GetInstance()
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (1)
331
Friend Overrides Iterator Function GetEventsToEmit() As IEnumerable(Of
EventSymbol
)
Symbols\Retargeting\RetargetingSymbolTranslator.vb (8)
64
Return New RetargetingEventSymbol(Me, DirectCast(symbol,
EventSymbol
))
1031
Public Function Retarget([event] As
EventSymbol
) As RetargetingEventSymbol
1035
Public Function RetargetImplementedEvent([event] As
EventSymbol
) As
EventSymbol
1049
Private Function FindEventInRetargetedType([event] As
EventSymbol
,
1050
retargetedType As NamedTypeSymbol) As
EventSymbol
1056
Dim retargetedEvent = DirectCast(retargetedMember,
EventSymbol
)
1146
Public Overrides Function VisitEvent(symbol As
EventSymbol
, arg As RetargetOptions) As Symbol
Symbols\Source\CustomEventAccessorSymbol.vb (1)
227
Dim firstImplementedEvent As
EventSymbol
= _event.ExplicitInterfaceImplementations(0)
Symbols\Source\ImplementsHelper.vb (7)
31
Return StaticCast(Of Symbol).From(DirectCast(member,
EventSymbol
).ExplicitInterfaceImplementations)
57
Return sourceEvent.GetImplementingLocation(DirectCast(implementedSym,
EventSymbol
))
137
firstImplementedMemberIsWindowsRuntimeEvent = TryCast(implementedMember,
EventSymbol
).IsWindowsRuntimeEvent.ToThreeState()
139
Dim currIsWinRT As Boolean = TryCast(implementedMember,
EventSymbol
).IsWindowsRuntimeEvent
441
Return eventComparer.Equals(DirectCast(implementedSym,
EventSymbol
), DirectCast(implementingSym,
EventSymbol
))
566
TypeOf interfaceMember Is
EventSymbol
)
Symbols\Source\OverrideHidingHelper.vb (3)
518
Return DirectCast(sym,
EventSymbol
).OverriddenEvent
531
If TypeOf method.AssociatedSymbol Is
EventSymbol
Then
580
OverrideHidingHelper(Of
EventSymbol
).s_runtimeSignatureComparer = EventSignatureComparer.RuntimeEventSignatureComparer
Symbols\Source\SourceEventSymbol.vb (8)
47
Private _lazyImplementedEvents As ImmutableArray(Of
EventSymbol
)
251
Private Function ComputeImplementedEvents(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of
EventSymbol
)
270
Return ProcessImplementsClause(Of
EventSymbol
)(implementsClause,
278
Return ImmutableArray(Of
EventSymbol
).Empty
512
Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of
EventSymbol
)
723
Friend Function GetImplementingLocation(implementedEvent As
EventSymbol
) As Location
730
Dim implementingSyntax = FindImplementingSyntax(Of
EventSymbol
)(eventSyntax.ImplementsClause,
771
Dim implementedEvents As ImmutableArray(Of
EventSymbol
) = ExplicitInterfaceImplementations
Symbols\Source\SourceMemberContainerTypeSymbol.vb (4)
452
GenerateVarianceDiagnosticsForEvent(DirectCast(member,
EventSymbol
), diagnostics, infosBuffer)
1102
[event] As
EventSymbol
,
2850
Dim eventSym As
EventSymbol
= Nothing
2857
eventSym = DirectCast(candidates(0),
EventSymbol
)
Symbols\Source\SourceMemberMethodSymbol.vb (4)
707
Dim eventSymbol As
EventSymbol
= Nothing
897
Optional ByRef resultKind As LookupResultKind = Nothing) As
EventSymbol
912
Dim result As
EventSymbol
= Nothing
915
result = TryCast(eventLookup.SingleSymbol,
EventSymbol
)
Symbols\Source\SourceMethodSymbol.vb (2)
1089
EventSymbol
)
2295
Dim isWindowsRuntimeEvent As Boolean = DirectCast(Me.AssociatedSymbol,
EventSymbol
).IsWindowsRuntimeEvent
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (10)
124
Dim eventMembers = ArrayBuilder(Of KeyValuePair(Of
EventSymbol
, Integer)).GetInstance()
362
eventMembers As ArrayBuilder(Of KeyValuePair(Of
EventSymbol
, Integer)),
448
eventMembers.Add(New KeyValuePair(Of
EventSymbol
, Integer)(DirectCast(member,
EventSymbol
), GetUserSpecifiedDispId(member, diagnostics)))
661
Public Sub New(comClass As SourceNamedTypeSymbol, interfaceMembers As ArrayBuilder(Of KeyValuePair(Of
EventSymbol
, Integer)))
667
For Each pair As KeyValuePair(Of
EventSymbol
, Integer) In interfaceMembers
679
For Each pair As KeyValuePair(Of
EventSymbol
, Integer) In interfaceMembers
680
Dim member As
EventSymbol
= pair.Key
1402
Private ReadOnly _event As
EventSymbol
1404
Public Sub New(container As SynthesizedComInterface, [event] As
EventSymbol
, clone As MethodSymbol, synthesizedDispId As Integer)
Symbols\SubstitutedEventSymbol.vb (8)
18
Private ReadOnly _originalDefinition As
EventSymbol
30
Private _lazyExplicitInterfaceImplementations As ImmutableArray(Of
EventSymbol
)
31
Private _lazyOverriddenOrHiddenMembers As OverriddenMembersResult(Of
EventSymbol
)
34
originalDefinition As
EventSymbol
,
103
Public Overrides ReadOnly Property OriginalDefinition As
EventSymbol
191
Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of
EventSymbol
)
212
Friend Overrides ReadOnly Property OverriddenOrHiddenMembers As OverriddenMembersResult(Of
EventSymbol
)
217
OverrideHidingHelper(Of
EventSymbol
).MakeOverriddenMembers(Me),
Symbols\SubstitutedNamedType.vb (7)
325
Private Function SubstituteTypeParametersForMemberEvent(memberEvent As
EventSymbol
) As SubstitutedEventSymbol
376
Dim memberEvent = DirectCast(member,
EventSymbol
)
395
Protected Overridable Function CreateSubstitutedEventSymbol(memberEvent As
EventSymbol
,
464
Dim eventSymbol = SubstituteTypeParametersForMemberEvent(DirectCast(memberMethod.AssociatedSymbol,
EventSymbol
))
469
Dim eventSymbol = SubstituteTypeParametersForMemberEvent(DirectCast(memberMethod.AssociatedSymbol,
EventSymbol
))
474
Dim eventSymbol = SubstituteTypeParametersForMemberEvent(DirectCast(memberMethod.AssociatedSymbol,
EventSymbol
))
486
Return SubstituteTypeParametersForMemberEvent(DirectCast(member,
EventSymbol
))
Symbols\SymbolExtensions.vb (2)
294
Return DirectCast(sym,
EventSymbol
).OverriddenEvent
474
Return ContainsTupleNames(DirectCast(member,
EventSymbol
).DelegateParameters)
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
38
Private _lazyEventSymbol As
EventSymbol
Symbols\Tuples\TupleEventSymbol.vb (3)
26
Public Overrides ReadOnly Property TupleUnderlyingEvent As
EventSymbol
74
Public Overrides ReadOnly Property ExplicitInterfaceImplementations As ImmutableArray(Of
EventSymbol
)
80
Public Sub New(container As TupleTypeSymbol, underlyingEvent As
EventSymbol
)
Symbols\Tuples\TupleTypeSymbol.vb (4)
793
members.Add(New TupleEventSymbol(Me, DirectCast(member,
EventSymbol
).AsMember(currentUnderlying)))
892
Dim tupleUnderlyingEvent As
EventSymbol
= DirectCast(symbol,
EventSymbol
).TupleUnderlyingEvent
1037
Friend Overrides Function GetEventsToEmit() As IEnumerable(Of
EventSymbol
)
Symbols\TypeSymbol.vb (2)
699
Return ImplementsHelper.ComputeImplementationForInterfaceMember(Of
EventSymbol
)(
700
DirectCast(interfaceMember,
EventSymbol
),
Symbols\Wrapped\WrappedEventSymbol.vb (3)
20
Protected ReadOnly _underlyingEvent As
EventSymbol
22
Public ReadOnly Property UnderlyingEvent As
EventSymbol
112
Public Sub New(underlyingEvent As
EventSymbol
)