2 overrides of UnderlyingSymbol
Microsoft.CodeAnalysis.VisualBasic (2)
Semantics\OverloadResolution.vb (2)
207
Public Overrides ReadOnly Property
UnderlyingSymbol
As Symbol
424
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)
2364
current.Candidate.
UnderlyingSymbol
Is contender.Candidate.
UnderlyingSymbol
Then
2395
current.Candidate.
UnderlyingSymbol
Is contender.Candidate.
UnderlyingSymbol
Then
2502
If first.Candidate.
UnderlyingSymbol
.Equals(second.Candidate.
UnderlyingSymbol
) Then
2867
Debug.Assert(Not candidate.Candidate.
UnderlyingSymbol
.IsReducedExtensionMethod() OrElse methodOrPropertyGroup.ReceiverOpt IsNot Nothing OrElse TypeOf methodOrPropertyGroup.SyntaxTree Is DummySyntaxTree)
2892
Dim candidateSymbol = candidate.Candidate.
UnderlyingSymbol
2919
Dim candidateIsAProperty As Boolean = (candidate.Candidate.
UnderlyingSymbol
.Kind = SymbolKind.Property)
3395
DirectCast(candidate.Candidate.
UnderlyingSymbol
, MethodSymbol).MethodKind = MethodKind.Constructor AndAlso
3396
binder.Compilation.GetWellKnownType(WellKnownType.System_Attribute).IsBaseTypeOf(candidate.Candidate.
UnderlyingSymbol
.ContainingType, useSiteInfo) Then
3519
If info.Candidate.
UnderlyingSymbol
.ContainingModule Is sourceModule OrElse
3533
Dim container As Symbol = info.Candidate.
UnderlyingSymbol
.ContainingSymbol
3582
Dim firstSymbol As Symbol = info.Candidate.
UnderlyingSymbol
.OriginalDefinition
3597
Dim secondSymbol As Symbol = info2.Candidate.
UnderlyingSymbol
.OriginalDefinition
3698
If isQueryOperatorInvocation AndAlso DirectCast(candidate.
UnderlyingSymbol
, MethodSymbol).IsSub Then
3703
If candidate.
UnderlyingSymbol
.HasUnsupportedMetadata Then
3745
Dim candidateUseSiteInfo As UseSiteInfo(Of AssemblySymbol) = candidate.
UnderlyingSymbol
.GetUseSiteInfo()
4125
Dim existingSymbol As Symbol = existingCandidate.Candidate.
UnderlyingSymbol
4126
Dim newSymbol As Symbol = newCandidate.Candidate.
UnderlyingSymbol
4229
If Not ((left.Candidate.
UnderlyingSymbol
.ContainingType.IsOrInGenericType() OrElse
4231
(right.Candidate.
UnderlyingSymbol
.ContainingType.IsOrInGenericType() OrElse
4880
If TypeArgumentInference.Infer(DirectCast(candidate.Candidate.
UnderlyingSymbol
, MethodSymbol),
4907
DirectCast(candidate.Candidate.
UnderlyingSymbol
, MethodSymbol).OriginalDefinition,