1 instantiation of SourceEventSymbol
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
2679
Dim propertySymbol = New
SourceEventSymbol
(Me, binder, syntax, blockSyntaxOpt, diagBag)
25 references to SourceEventSymbol
Microsoft.CodeAnalysis.VisualBasic (22)
Binding\BinderFactory.vb (1)
395
Dim eventSymbol = DirectCast(SourceMethodSymbol.FindSymbolFromSyntax(methodSyntax, _tree, containingType),
SourceEventSymbol
)
Compilation\DocumentationComments\DocumentationCommentCompiler.Event.vb (2)
30
Dim sourceEvent = TryCast(symbol,
SourceEventSymbol
)
37
Private Sub WriteDocumentationCommentForEvent([event] As
SourceEventSymbol
)
SymbolDisplay\SymbolDisplayVisitor.Members.vb (1)
142
Dim sourceSymbol = TryCast(symbol,
SourceEventSymbol
)
Symbols\Source\CustomEventAccessorSymbol.vb (2)
17
Private ReadOnly _event As
SourceEventSymbol
22
[event] As
SourceEventSymbol
,
Symbols\Source\ImplementsHelper.vb (1)
55
Dim sourceEvent = TryCast(sourceSym,
SourceEventSymbol
)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
2893
Private Sub AddEventAndAccessors(eventSymbol As
SourceEventSymbol
,
Symbols\Source\SynthesizedEventAccessorSymbol.vb (8)
18
Inherits SynthesizedAccessor(Of
SourceEventSymbol
)
25
[event] As
SourceEventSymbol
)
30
Private ReadOnly Property SourceEvent As
SourceEventSymbol
113
Protected Shared Function ConstructFieldLikeEventAccessorBody(eventSymbol As
SourceEventSymbol
,
132
Private Shared Function ConstructFieldLikeEventAccessorBody_WinRT(eventSymbol As
SourceEventSymbol
,
268
Private Shared Function ConstructFieldLikeEventAccessorBody_Regular(eventSymbol As
SourceEventSymbol
,
537
[event] As
SourceEventSymbol
)
552
[event] As
SourceEventSymbol
)
Symbols\Source\SynthesizedEventBackingFieldSymbol.vb (2)
16
Inherits SynthesizedBackingFieldBase(Of
SourceEventSymbol
)
20
Public Sub New(propertyOrEvent As
SourceEventSymbol
, name As String, isShared As Boolean)
Symbols\Symbol_Attributes.vb (1)
520
Me.Kind = SymbolKind.Event AndAlso DirectCast(Me,
SourceEventSymbol
).AssociatedField IsNot Nothing Then
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (3)
107
Dim asEvent = TryCast(e,
SourceEventSymbol
)
135
Dim eventInCurrentContext As
SourceEventSymbol
= Nothing
140
Dim asEvent = TryCast(e,
SourceEventSymbol
)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (3)
SymbolsTests\Metadata\WinMdEventTest.vb (2)
943
Assert.IsType(Of
SourceEventSymbol
)(implementingNormalEvent)
944
Assert.IsType(Of
SourceEventSymbol
)(implementingWinRTEvent)
SymbolsTests\Retargeting\RetargetingTests.vb (1)
2183
CheckTypes(CType(sourceType.GetMember("xEvent"),
SourceEventSymbol
).Type, CType(retargetingType.GetMember("xEvent"), RetargetingEventSymbol).Type)