35 references to SourceMemberMethodSymbol
Microsoft.CodeAnalysis.VisualBasic (35)
Symbols\MethodSymbol.vb (1)
1058
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)
1744
Private Function FindPartialMethodDeclarations(diagnostics As BindingDiagnosticBag, members As Dictionary(Of String, ImmutableArray(Of Symbol))) As HashSet(Of
SourceMemberMethodSymbol
)
1745
Dim partialMethods As HashSet(Of
SourceMemberMethodSymbol
) = Nothing
1748
Dim method = TryCast(member,
SourceMemberMethodSymbol
)
1756
partialMethods = New HashSet(Of
SourceMemberMethodSymbol
)(ReferenceEqualityComparer.Instance)
1768
Dim partialMethods As HashSet(Of
SourceMemberMethodSymbol
) = FindPartialMethodDeclarations(diagnostics, members)
1782
Dim originalPartialMethod As
SourceMemberMethodSymbol
= partialMethods.First()
1786
Dim bestPartialMethod As
SourceMemberMethodSymbol
= originalPartialMethod
1791
Dim bestImplMethod As
SourceMemberMethodSymbol
= Nothing
1797
Dim candidate As
SourceMemberMethodSymbol
= TryCast(member,
SourceMemberMethodSymbol
)
1812
Dim reportOnMethod As
SourceMemberMethodSymbol
= If(candidateIsBigger, candidate, bestPartialMethod)
1837
Dim reportOnMethod As
SourceMemberMethodSymbol
= If(candidateIsBigger, candidate, bestImplMethod)
1881
SourceMemberMethodSymbol
.InitializePartialMethodParts(bestPartialMethod, bestImplMethod)
1888
SourceMemberMethodSymbol
.InitializePartialMethodParts(bestPartialMethod, Nothing)
2869
eventSym =
SourceMemberMethodSymbol
.FindEvent(Me.BaseTypeNoUseSiteDiagnostics, baseBinder, eventName, isThroughMyBase:=True, useSiteInfo:=useSiteInfo)
3536
Dim sourceMethod = TryCast(member,
SourceMemberMethodSymbol
)
3555
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
,