3 instantiations of SourceMemberMethodSymbol
Microsoft.CodeAnalysis.VisualBasic (3)
Symbols\Source\SourceMethodSymbol.vb (3)
121Dim methodSym As New SourceMemberMethodSymbol( 373Return New SourceMemberMethodSymbol( 403Dim methodSym As New SourceMemberMethodSymbol(container, name, flags, binder, syntax, arity:=0)
43 references to SourceMemberMethodSymbol
Microsoft.CodeAnalysis.VisualBasic (41)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
1322Dim operatorBlock = DirectCast(DirectCast(local.ContainingSymbol, SourceMemberMethodSymbol).BlockSyntax, OperatorBlockSyntax)
Compilation\DocumentationComments\DocumentationCommentCompiler.Method.vb (1)
30If(TryCast(symbol, SourceMemberMethodSymbol),
Compilation\MethodCompiler.vb (2)
127Dim method = TryCast(symbol, SourceMemberMethodSymbol) 758Dim sourceMethod = TryCast(member, SourceMemberMethodSymbol)
Compilation\SyntaxTreeSemanticModel.vb (1)
771Dim methodSym = DirectCast(implementingMember, SourceMemberMethodSymbol)
Compilation\VisualBasicCompilation.vb (1)
1641Dim sourceMethod = TryCast(entryPoint, SourceMemberMethodSymbol)
Symbols\MethodSymbol.vb (1)
1003Return If(TryCast(Me, SourceMemberMethodSymbol)?.IsPartialDefinition, False)
Symbols\MethodSymbolExtensions.vb (2)
66Dim sourceMethod = TryCast(method, SourceMemberMethodSymbol) 76Dim sourceMethod = TryCast(method, SourceMemberMethodSymbol)
Symbols\Source\SourceComplexParameterSymbol.vb (3)
40Dim sourceMethod = TryCast(Me.ContainingSymbol, SourceMemberMethodSymbol) 64Dim sourceMethod = TryCast(Me.ContainingSymbol, SourceMemberMethodSymbol) 72Dim otherPart As SourceMemberMethodSymbol = sourceMethod.SourcePartialImplementation
Symbols\Source\SourceMemberContainerTypeSymbol.vb (17)
1752Private Function FindPartialMethodDeclarations(diagnostics As BindingDiagnosticBag, members As Dictionary(Of String, ImmutableArray(Of Symbol))) As HashSet(Of SourceMemberMethodSymbol) 1753Dim partialMethods As HashSet(Of SourceMemberMethodSymbol) = Nothing 1756Dim method = TryCast(member, SourceMemberMethodSymbol) 1764partialMethods = New HashSet(Of SourceMemberMethodSymbol)(ReferenceEqualityComparer.Instance) 1776Dim partialMethods As HashSet(Of SourceMemberMethodSymbol) = FindPartialMethodDeclarations(diagnostics, members) 1790Dim originalPartialMethod As SourceMemberMethodSymbol = partialMethods.First() 1794Dim bestPartialMethod As SourceMemberMethodSymbol = originalPartialMethod 1799Dim bestImplMethod As SourceMemberMethodSymbol = Nothing 1805Dim candidate As SourceMemberMethodSymbol = TryCast(member, SourceMemberMethodSymbol) 1821Dim reportOnMethod As SourceMemberMethodSymbol = If(candidateIsBigger, candidate, bestPartialMethod) 1846Dim reportOnMethod As SourceMemberMethodSymbol = If(candidateIsBigger, candidate, bestImplMethod) 1890SourceMemberMethodSymbol.InitializePartialMethodParts(bestPartialMethod, bestImplMethod) 1897SourceMemberMethodSymbol.InitializePartialMethodParts(bestPartialMethod, Nothing) 2858eventSym = SourceMemberMethodSymbol.FindEvent(Me.BaseTypeNoUseSiteDiagnostics, baseBinder, eventName, isThroughMyBase:=True, useSiteInfo:=useSiteInfo) 3525Dim sourceMethod = TryCast(member, SourceMemberMethodSymbol) 3544sourceMethod = TryCast(nextMember, SourceMemberMethodSymbol)
Symbols\Source\SourceMemberMethodSymbol.vb (9)
46Private _otherPartOfPartial As SourceMemberMethodSymbol 218Dim methodImpl As SourceMemberMethodSymbol = If(Me.IsPartial, SourcePartialImplementation, Me) 454Public ReadOnly Property SourcePartialDefinition As SourceMemberMethodSymbol 460Public ReadOnly Property SourcePartialImplementation As SourceMemberMethodSymbol 478Friend Property OtherPartOfPartial As SourceMemberMethodSymbol 485Private Set(value As SourceMemberMethodSymbol) 486Dim oldValue As SourceMemberMethodSymbol = Me._otherPartOfPartial 530Friend Shared Sub InitializePartialMethodParts(definition As SourceMemberMethodSymbol, implementation As SourceMemberMethodSymbol)
Symbols\Source\SourceSimpleParameterSymbol.vb (1)
41Dim method = TryCast(Me.ContainingSymbol, SourceMemberMethodSymbol)
Symbols\Source\SourceTypeParameterSymbol.vb (2)
294Private ReadOnly _container As SourceMemberMethodSymbol 297Public Sub New(container As SourceMemberMethodSymbol,
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
Attributes\AttributeTests_WellKnownAttributes.vb (1)
3263Dim valueTupleS = DirectCast(comp.GetTypeByMetadataName("ValueTupleS").GetMember("M"), SourceMemberMethodSymbol).ReturnType
Emit\EditAndContinue\SymbolMatcherTests.vb (1)
747Dim otherSymbol = DirectCast(other.GetInternalSymbol(), SourceMemberMethodSymbol)