52 references to SingleLookupResult
Microsoft.CodeAnalysis.VisualBasic (52)
Binding\Binder_Attributes.vb (1)
226
lookupResult.SetFrom(
SingleLookupResult
.NotAnAttributeType(symbol, diagInfo))
Binding\Binder_Lambda.vb (1)
1128
lookupResult.SetFrom(
SingleLookupResult
.EmptyAndStopLookup)
Binding\Binder_Lookup.vb (17)
121
<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As
SingleLookupResult
125
Return
SingleLookupResult
.Empty
131
Return
SingleLookupResult
.Good(sym)
135
Return
SingleLookupResult
.Empty
150
Return
SingleLookupResult
.Empty
163
Return
SingleLookupResult
.Empty
172
Return
SingleLookupResult
.Empty
184
Return
SingleLookupResult
.WrongArity(sym, WrongArityErrid(actualArity, arity))
189
Return
SingleLookupResult
.WrongArity(unwrappedSym, WrongArityErrid(0, arity))
198
Return
SingleLookupResult
.WrongArity(unwrappedSym, WrongArityErrid(0, arity))
210
Return
SingleLookupResult
.WrongArityAndStopLookup(sym, WrongArityErrid(actualArity, arity))
217
Return
SingleLookupResult
.WrongArityAndStopLookup(sym, WrongArityErrid(0, arity))
226
Return
SingleLookupResult
.Inaccessible(sym, GetInaccessibleErrorInfo(sym))
236
Return
SingleLookupResult
.Good(sym)
442
Dim currentResult As
SingleLookupResult
= binder.CheckViability(sym, arity, options, Nothing, useSiteInfo)
1184
lookupResult.SetFrom(
SingleLookupResult
.Empty)
1271
Dim singleResult As
SingleLookupResult
Binding\Binder_Symbols.vb (10)
755
suppressUseSiteError As Boolean) As
SingleLookupResult
764
suppressUseSiteError As Boolean) As
SingleLookupResult
804
Return
SingleLookupResult
.Good(sym)
814
inGetTypeContext As Boolean) As
SingleLookupResult
819
Return
SingleLookupResult
.Good(binder.ApplyArrayRankSpecifiersToType(elementType, arrayTypeSyntax.RankSpecifiers, diagBag))
828
suppressUseSiteError As Boolean) As
SingleLookupResult
830
Return
SingleLookupResult
.Good(binder.CreateNullableOf(elementType, nullableTypeSyntax, nullableTypeSyntax.ElementType, diagBag))
906
lookupResult.SetFrom(
SingleLookupResult
.WrongArity(lookupResult.SingleSymbol,
1109
binder As Binder) As
SingleLookupResult
1110
Return
SingleLookupResult
.Good(binder.Compilation.GlobalNamespace)
Binding\ExecutableCodeBinder.vb (2)
130
lookupResult.SetFrom(
SingleLookupResult
.Good(labels.Single()))
146
lookupResult.SetFrom(
SingleLookupResult
.Good(bestSymbol))
Binding\LookupResult.vb (21)
115
Public Shared Function Good(sym As Symbol) As
SingleLookupResult
121
generateAmbiguityDiagnostic As Func(Of ImmutableArray(Of Symbol), AmbiguousSymbolDiagnostic)) As
SingleLookupResult
127
Public Shared Function WrongArityAndStopLookup(sym As Symbol, err As ERRID) As
SingleLookupResult
133
Public Shared Function WrongArityAndStopLookup(sym As Symbol, diagInfo As DiagnosticInfo) As
SingleLookupResult
138
diagInfo As DiagnosticInfo) As
SingleLookupResult
143
err As ERRID) As
SingleLookupResult
148
Public Shared Function MustNotBeInstance(sym As Symbol, err As ERRID) As
SingleLookupResult
153
Public Shared Function MustBeInstance(sym As Symbol) As
SingleLookupResult
159
diagInfo As DiagnosticInfo) As
SingleLookupResult
163
Friend Shared Function NotAnAttributeType(sym As Symbol, [error] As DiagnosticInfo) As
SingleLookupResult
387
Public Sub SetFrom(other As
SingleLookupResult
)
407
SetFrom(
SingleLookupResult
.Good(s))
427
SetFrom(
SingleLookupResult
.Good(syms(0)))
444
Public Sub MergePrioritized(other As
SingleLookupResult
)
480
Public Sub MergeAmbiguous(other As
SingleLookupResult
,
534
Public Sub MergeOverloadedOrPrioritizedExtensionMethods(other As
SingleLookupResult
)
595
Public Sub MergeOverloadedOrPrioritized(other As
SingleLookupResult
, checkIfCurrentHasOverloads As Boolean)
626
Public Sub MergeMembersOfTheSameType(other As
SingleLookupResult
, imported As Boolean)
648
Private Sub MergeOverloadedOrAmbiguousInTheSameType(other As
SingleLookupResult
, imported As Boolean)
853
Public Sub MergeMembersOfTheSameNamespace(other As
SingleLookupResult
, sourceModule As ModuleSymbol, options As LookupOptions)
902
Private Function ResolveAmbiguityInTheSameNamespace(other As
SingleLookupResult
, sourceModule As ModuleSymbol, options As LookupOptions) As Integer