35 references to SourceMemberMethodSymbol
Microsoft.CodeAnalysis.VisualBasic (35)
Symbols\MethodSymbol.vb (1)
1028
Return If(TryCast(Me,
SourceMemberMethodSymbol
)?.IsPartialDefinition, False)
Symbols\MethodSymbolExtensions.vb (2)
66
Dim sourceMethod = TryCast(method,
SourceMemberMethodSymbol
)
76
Dim sourceMethod = TryCast(method.OriginalDefinition,
SourceMemberMethodSymbol
)
Symbols\Source\SourceComplexParameterSymbol.vb (3)
40
Dim sourceMethod = TryCast(Me.ContainingSymbol,
SourceMemberMethodSymbol
)
64
Dim sourceMethod = TryCast(Me.ContainingSymbol,
SourceMemberMethodSymbol
)
72
Dim otherPart As
SourceMemberMethodSymbol
= sourceMethod.SourcePartialImplementation
Symbols\Source\SourceMemberContainerTypeSymbol.vb (17)
1743
Private Function FindPartialMethodDeclarations(diagnostics As BindingDiagnosticBag, members As Dictionary(Of String, ImmutableArray(Of Symbol))) As HashSet(Of
SourceMemberMethodSymbol
)
1744
Dim partialMethods As HashSet(Of
SourceMemberMethodSymbol
) = Nothing
1747
Dim method = TryCast(member,
SourceMemberMethodSymbol
)
1755
partialMethods = New HashSet(Of
SourceMemberMethodSymbol
)(ReferenceEqualityComparer.Instance)
1767
Dim partialMethods As HashSet(Of
SourceMemberMethodSymbol
) = FindPartialMethodDeclarations(diagnostics, members)
1781
Dim originalPartialMethod As
SourceMemberMethodSymbol
= partialMethods.First()
1785
Dim bestPartialMethod As
SourceMemberMethodSymbol
= originalPartialMethod
1790
Dim bestImplMethod As
SourceMemberMethodSymbol
= Nothing
1796
Dim candidate As
SourceMemberMethodSymbol
= TryCast(member,
SourceMemberMethodSymbol
)
1811
Dim reportOnMethod As
SourceMemberMethodSymbol
= If(candidateIsBigger, candidate, bestPartialMethod)
1836
Dim reportOnMethod As
SourceMemberMethodSymbol
= If(candidateIsBigger, candidate, bestImplMethod)
1880
SourceMemberMethodSymbol
.InitializePartialMethodParts(bestPartialMethod, bestImplMethod)
1887
SourceMemberMethodSymbol
.InitializePartialMethodParts(bestPartialMethod, Nothing)
2868
eventSym =
SourceMemberMethodSymbol
.FindEvent(Me.BaseTypeNoUseSiteDiagnostics, baseBinder, eventName, isThroughMyBase:=True, useSiteInfo:=useSiteInfo)
3535
Dim sourceMethod = TryCast(member,
SourceMemberMethodSymbol
)
3554
sourceMethod = TryCast(nextMember,
SourceMemberMethodSymbol
)
Symbols\Source\SourceMemberMethodSymbol.vb (9)
46
Private _otherPartOfPartial As
SourceMemberMethodSymbol
218
Dim methodImpl As
SourceMemberMethodSymbol
= If(Me.IsPartial, SourcePartialImplementation, Me)
454
Public ReadOnly Property SourcePartialDefinition As
SourceMemberMethodSymbol
460
Public ReadOnly Property SourcePartialImplementation As
SourceMemberMethodSymbol
478
Friend Property OtherPartOfPartial As
SourceMemberMethodSymbol
485
Private Set(value As
SourceMemberMethodSymbol
)
486
Dim oldValue As
SourceMemberMethodSymbol
= Me._otherPartOfPartial
530
Friend Shared Sub InitializePartialMethodParts(definition As
SourceMemberMethodSymbol
, implementation As
SourceMemberMethodSymbol
)
Symbols\Source\SourceSimpleParameterSymbol.vb (1)
41
Dim method = TryCast(Me.ContainingSymbol,
SourceMemberMethodSymbol
)
Symbols\Source\SourceTypeParameterSymbol.vb (2)
308
Private ReadOnly _container As
SourceMemberMethodSymbol
311
Public Sub New(container As
SourceMemberMethodSymbol
,