2 overrides of UnderlyingSymbol
Microsoft.CodeAnalysis.VisualBasic (2)
Semantics\OverloadResolution.vb (2)
211
Public Overrides ReadOnly Property
UnderlyingSymbol
As Symbol
450
Public Overrides ReadOnly Property
UnderlyingSymbol
As Symbol
49 references to UnderlyingSymbol
Microsoft.CodeAnalysis.VisualBasic (49)
Binding\Binder_Attributes.vb (1)
318
methodSym = DirectCast(methodResult.Candidate.
UnderlyingSymbol
, MethodSymbol)
Binding\Binder_Delegates.vb (2)
636
Dim targetMethodSymbol = DirectCast(analysisResult.Candidate.
UnderlyingSymbol
, MethodSymbol)
710
analysisResult.Candidate.
UnderlyingSymbol
))
Binding\Binder_Invocation.vb (9)
834
Dim methodOrProperty = candidate.
UnderlyingSymbol
838
ReportDiagnostic(diagnostics, target, GetInaccessibleErrorInfo(bestResult.Candidate.
UnderlyingSymbol
))
1393
ReportDiagnostic(diagnostics, If(groupOpt IsNot Nothing, groupOpt.Syntax, node), GetInaccessibleErrorInfo(singleCandidate.
UnderlyingSymbol
))
1456
Dim singleSymbol As Symbol = singleCandidate.
UnderlyingSymbol
2007
ReportUseSite(diagnostics, diagnosticLocation, candidate.
UnderlyingSymbol
.GetUseSiteInfo())
2036
Dim candidateSymbol As Symbol = candidate.
UnderlyingSymbol
2272
Debug.Assert(candidate.
UnderlyingSymbol
.Kind = SymbolKind.Method)
2274
Dim method = DirectCast(candidate.
UnderlyingSymbol
, MethodSymbol)
2691
Dim candidateIsAProperty As Boolean = (candidate.Candidate.
UnderlyingSymbol
.Kind = SymbolKind.Property)
Binding\Binder_ObjectInitializer.vb (3)
473
ReportDiagnosticsIfObsoleteOrNotSupported(diagnostics, methodResult.Candidate.
UnderlyingSymbol
, node)
495
ImmutableArray.Create(Of Symbol)(methodResult.Candidate.
UnderlyingSymbol
),
499
Dim constructorSymbol As MethodSymbol = DirectCast(methodResult.Candidate.
UnderlyingSymbol
, MethodSymbol)
Binding\Binder_Operators.vb (5)
605
DirectCast(bestCandidate.Candidate.
UnderlyingSymbol
, MethodSymbol)),
690
bitwiseCandidate.
UnderlyingSymbol
,
691
bitwiseCandidate.
UnderlyingSymbol
.ContainingType,
754
DirectCast(bitwiseCandidate.
UnderlyingSymbol
, MethodSymbol)),
1256
DirectCast(bestCandidate.Candidate.
UnderlyingSymbol
, MethodSymbol)),
Binding\Binder_Query.vb (2)
1994
Dim method = DirectCast(results.BestResult.Value.Candidate.
UnderlyingSymbol
, MethodSymbol)
2068
Dim method = DirectCast(results.BestResult.Value.Candidate.
UnderlyingSymbol
, MethodSymbol)
Binding\Binder_Statements.vb (2)
3302
ReportDiagnostic(diagnostics, syntax, ERRID.ERR_UnacceptableForLoopRelOperator2, bestCandidate.
UnderlyingSymbol
,
3307
ReportDiagnostic(diagnostics, syntax, ERRID.ERR_UnacceptableForLoopOperator2, bestCandidate.
UnderlyingSymbol
,
Compilation\MethodResolutionResult.vb (1)
57
Return DirectCast(_candidate.Candidate.
UnderlyingSymbol
, TMember)
Semantics\OverloadResolution.vb (24)
2724
current.Candidate.
UnderlyingSymbol
Is contender.Candidate.
UnderlyingSymbol
Then
2755
current.Candidate.
UnderlyingSymbol
Is contender.Candidate.
UnderlyingSymbol
Then
2862
If first.Candidate.
UnderlyingSymbol
.Equals(second.Candidate.
UnderlyingSymbol
) Then
3227
Debug.Assert(Not candidate.Candidate.
UnderlyingSymbol
.IsReducedExtensionMethod() OrElse methodOrPropertyGroup.ReceiverOpt IsNot Nothing OrElse TypeOf methodOrPropertyGroup.SyntaxTree Is DummySyntaxTree)
3252
Dim candidateSymbol = candidate.Candidate.
UnderlyingSymbol
3279
Dim candidateIsAProperty As Boolean = (candidate.Candidate.
UnderlyingSymbol
.Kind = SymbolKind.Property)
3755
DirectCast(candidate.Candidate.
UnderlyingSymbol
, MethodSymbol).MethodKind = MethodKind.Constructor AndAlso
3756
binder.Compilation.GetWellKnownType(WellKnownType.System_Attribute).IsBaseTypeOf(candidate.Candidate.
UnderlyingSymbol
.ContainingType, useSiteInfo) Then
3880
If info.Candidate.
UnderlyingSymbol
.ContainingModule Is sourceModule OrElse
3895
Dim container As Symbol = info.Candidate.
UnderlyingSymbol
.ContainingSymbol
3944
Dim firstSymbol As Symbol = info.Candidate.
UnderlyingSymbol
.OriginalDefinition
3959
Dim secondSymbol As Symbol = info2.Candidate.
UnderlyingSymbol
.OriginalDefinition
4063
If isQueryOperatorInvocation AndAlso DirectCast(candidate.
UnderlyingSymbol
, MethodSymbol).IsSub Then
4068
If candidate.
UnderlyingSymbol
.HasUnsupportedMetadata Then
4110
Dim candidateUseSiteInfo As UseSiteInfo(Of AssemblySymbol) = candidate.
UnderlyingSymbol
.GetUseSiteInfo()
4525
Dim existingSymbol As Symbol = existingCandidate.Candidate.
UnderlyingSymbol
4526
Dim newSymbol As Symbol = newCandidate.Candidate.
UnderlyingSymbol
4629
If Not ((left.Candidate.
UnderlyingSymbol
.ContainingType.IsOrInGenericType() OrElse
4631
(right.Candidate.
UnderlyingSymbol
.ContainingType.IsOrInGenericType() OrElse
5280
If TypeArgumentInference.Infer(DirectCast(candidate.Candidate.
UnderlyingSymbol
, MethodSymbol),
5307
DirectCast(candidate.Candidate.
UnderlyingSymbol
, MethodSymbol).OriginalDefinition,