3 instantiations of SourceMemberMethodSymbol
Microsoft.CodeAnalysis.VisualBasic (3)
Symbols\Source\SourceMethodSymbol.vb (3)
121
Dim methodSym As New
SourceMemberMethodSymbol
(
373
Return New
SourceMemberMethodSymbol
(
403
Dim methodSym As New
SourceMemberMethodSymbol
(container, name, flags, binder, syntax, arity:=0)
43 references to SourceMemberMethodSymbol
Microsoft.CodeAnalysis.VisualBasic (41)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
1322
Dim operatorBlock = DirectCast(DirectCast(local.ContainingSymbol,
SourceMemberMethodSymbol
).BlockSyntax, OperatorBlockSyntax)
Compilation\DocumentationComments\DocumentationCommentCompiler.Method.vb (1)
30
If(TryCast(symbol,
SourceMemberMethodSymbol
),
Compilation\MethodCompiler.vb (2)
127
Dim method = TryCast(symbol,
SourceMemberMethodSymbol
)
758
Dim sourceMethod = TryCast(member,
SourceMemberMethodSymbol
)
Compilation\SyntaxTreeSemanticModel.vb (1)
771
Dim methodSym = DirectCast(implementingMember,
SourceMemberMethodSymbol
)
Compilation\VisualBasicCompilation.vb (1)
1641
Dim sourceMethod = TryCast(entryPoint,
SourceMemberMethodSymbol
)
Symbols\MethodSymbol.vb (1)
1003
Return If(TryCast(Me,
SourceMemberMethodSymbol
)?.IsPartialDefinition, False)
Symbols\MethodSymbolExtensions.vb (2)
66
Dim sourceMethod = TryCast(method,
SourceMemberMethodSymbol
)
76
Dim sourceMethod = TryCast(method,
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)
1752
Private Function FindPartialMethodDeclarations(diagnostics As BindingDiagnosticBag, members As Dictionary(Of String, ImmutableArray(Of Symbol))) As HashSet(Of
SourceMemberMethodSymbol
)
1753
Dim partialMethods As HashSet(Of
SourceMemberMethodSymbol
) = Nothing
1756
Dim method = TryCast(member,
SourceMemberMethodSymbol
)
1764
partialMethods = New HashSet(Of
SourceMemberMethodSymbol
)(ReferenceEqualityComparer.Instance)
1776
Dim partialMethods As HashSet(Of
SourceMemberMethodSymbol
) = FindPartialMethodDeclarations(diagnostics, members)
1790
Dim originalPartialMethod As
SourceMemberMethodSymbol
= partialMethods.First()
1794
Dim bestPartialMethod As
SourceMemberMethodSymbol
= originalPartialMethod
1799
Dim bestImplMethod As
SourceMemberMethodSymbol
= Nothing
1805
Dim candidate As
SourceMemberMethodSymbol
= TryCast(member,
SourceMemberMethodSymbol
)
1821
Dim reportOnMethod As
SourceMemberMethodSymbol
= If(candidateIsBigger, candidate, bestPartialMethod)
1846
Dim reportOnMethod As
SourceMemberMethodSymbol
= If(candidateIsBigger, candidate, bestImplMethod)
1890
SourceMemberMethodSymbol
.InitializePartialMethodParts(bestPartialMethod, bestImplMethod)
1897
SourceMemberMethodSymbol
.InitializePartialMethodParts(bestPartialMethod, Nothing)
2858
eventSym =
SourceMemberMethodSymbol
.FindEvent(Me.BaseTypeNoUseSiteDiagnostics, baseBinder, eventName, isThroughMyBase:=True, useSiteInfo:=useSiteInfo)
3525
Dim sourceMethod = TryCast(member,
SourceMemberMethodSymbol
)
3544
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)
294
Private ReadOnly _container As
SourceMemberMethodSymbol
297
Public Sub New(container As
SourceMemberMethodSymbol
,
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
Attributes\AttributeTests_WellKnownAttributes.vb (1)
3263
Dim valueTupleS = DirectCast(comp.GetTypeByMetadataName("ValueTupleS").GetMember("M"),
SourceMemberMethodSymbol
).ReturnType
Emit\EditAndContinue\SymbolMatcherTests.vb (1)
747
Dim otherSymbol = DirectCast(other.GetInternalSymbol(),
SourceMemberMethodSymbol
)