2 overrides of UnderlyingSymbol
Microsoft.CodeAnalysis.VisualBasic (2)
Semantics\OverloadResolution.vb (2)
207Public Overrides ReadOnly Property UnderlyingSymbol As Symbol 424Public Overrides ReadOnly Property UnderlyingSymbol As Symbol
49 references to UnderlyingSymbol
Microsoft.CodeAnalysis.VisualBasic (49)
Binding\Binder_Attributes.vb (1)
318methodSym = DirectCast(methodResult.Candidate.UnderlyingSymbol, MethodSymbol)
Binding\Binder_Delegates.vb (2)
636Dim targetMethodSymbol = DirectCast(analysisResult.Candidate.UnderlyingSymbol, MethodSymbol) 710analysisResult.Candidate.UnderlyingSymbol))
Binding\Binder_Invocation.vb (9)
834Dim methodOrProperty = candidate.UnderlyingSymbol 838ReportDiagnostic(diagnostics, target, GetInaccessibleErrorInfo(bestResult.Candidate.UnderlyingSymbol)) 1393ReportDiagnostic(diagnostics, If(groupOpt IsNot Nothing, groupOpt.Syntax, node), GetInaccessibleErrorInfo(singleCandidate.UnderlyingSymbol)) 1456Dim singleSymbol As Symbol = singleCandidate.UnderlyingSymbol 2007ReportUseSite(diagnostics, diagnosticLocation, candidate.UnderlyingSymbol.GetUseSiteInfo()) 2036Dim candidateSymbol As Symbol = candidate.UnderlyingSymbol 2272Debug.Assert(candidate.UnderlyingSymbol.Kind = SymbolKind.Method) 2274Dim method = DirectCast(candidate.UnderlyingSymbol, MethodSymbol) 2691Dim candidateIsAProperty As Boolean = (candidate.Candidate.UnderlyingSymbol.Kind = SymbolKind.Property)
Binding\Binder_ObjectInitializer.vb (3)
473ReportDiagnosticsIfObsoleteOrNotSupported(diagnostics, methodResult.Candidate.UnderlyingSymbol, node) 495ImmutableArray.Create(Of Symbol)(methodResult.Candidate.UnderlyingSymbol), 499Dim constructorSymbol As MethodSymbol = DirectCast(methodResult.Candidate.UnderlyingSymbol, MethodSymbol)
Binding\Binder_Operators.vb (5)
605DirectCast(bestCandidate.Candidate.UnderlyingSymbol, MethodSymbol)), 690bitwiseCandidate.UnderlyingSymbol, 691bitwiseCandidate.UnderlyingSymbol.ContainingType, 754DirectCast(bitwiseCandidate.UnderlyingSymbol, MethodSymbol)), 1256DirectCast(bestCandidate.Candidate.UnderlyingSymbol, MethodSymbol)),
Binding\Binder_Query.vb (2)
1994Dim method = DirectCast(results.BestResult.Value.Candidate.UnderlyingSymbol, MethodSymbol) 2068Dim method = DirectCast(results.BestResult.Value.Candidate.UnderlyingSymbol, MethodSymbol)
Binding\Binder_Statements.vb (2)
3302ReportDiagnostic(diagnostics, syntax, ERRID.ERR_UnacceptableForLoopRelOperator2, bestCandidate.UnderlyingSymbol, 3307ReportDiagnostic(diagnostics, syntax, ERRID.ERR_UnacceptableForLoopOperator2, bestCandidate.UnderlyingSymbol,
Compilation\MethodResolutionResult.vb (1)
57Return DirectCast(_candidate.Candidate.UnderlyingSymbol, TMember)
Semantics\OverloadResolution.vb (24)
2364current.Candidate.UnderlyingSymbol Is contender.Candidate.UnderlyingSymbol Then 2395current.Candidate.UnderlyingSymbol Is contender.Candidate.UnderlyingSymbol Then 2502If first.Candidate.UnderlyingSymbol.Equals(second.Candidate.UnderlyingSymbol) Then 2867Debug.Assert(Not candidate.Candidate.UnderlyingSymbol.IsReducedExtensionMethod() OrElse methodOrPropertyGroup.ReceiverOpt IsNot Nothing OrElse TypeOf methodOrPropertyGroup.SyntaxTree Is DummySyntaxTree) 2892Dim candidateSymbol = candidate.Candidate.UnderlyingSymbol 2919Dim candidateIsAProperty As Boolean = (candidate.Candidate.UnderlyingSymbol.Kind = SymbolKind.Property) 3395DirectCast(candidate.Candidate.UnderlyingSymbol, MethodSymbol).MethodKind = MethodKind.Constructor AndAlso 3396binder.Compilation.GetWellKnownType(WellKnownType.System_Attribute).IsBaseTypeOf(candidate.Candidate.UnderlyingSymbol.ContainingType, useSiteInfo) Then 3519If info.Candidate.UnderlyingSymbol.ContainingModule Is sourceModule OrElse 3533Dim container As Symbol = info.Candidate.UnderlyingSymbol.ContainingSymbol 3582Dim firstSymbol As Symbol = info.Candidate.UnderlyingSymbol.OriginalDefinition 3597Dim secondSymbol As Symbol = info2.Candidate.UnderlyingSymbol.OriginalDefinition 3698If isQueryOperatorInvocation AndAlso DirectCast(candidate.UnderlyingSymbol, MethodSymbol).IsSub Then 3703If candidate.UnderlyingSymbol.HasUnsupportedMetadata Then 3745Dim candidateUseSiteInfo As UseSiteInfo(Of AssemblySymbol) = candidate.UnderlyingSymbol.GetUseSiteInfo() 4125Dim existingSymbol As Symbol = existingCandidate.Candidate.UnderlyingSymbol 4126Dim newSymbol As Symbol = newCandidate.Candidate.UnderlyingSymbol 4229If Not ((left.Candidate.UnderlyingSymbol.ContainingType.IsOrInGenericType() OrElse 4231(right.Candidate.UnderlyingSymbol.ContainingType.IsOrInGenericType() OrElse 4880If TypeArgumentInference.Infer(DirectCast(candidate.Candidate.UnderlyingSymbol, MethodSymbol), 4907DirectCast(candidate.Candidate.UnderlyingSymbol, MethodSymbol).OriginalDefinition,