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