2 instantiations of LookupResult
Microsoft.CodeAnalysis.VisualBasic (2)
Binding\Binder_Statements.vb (1)
4101Dim lookupResult As New LookupResult()
Binding\LookupResult.vb (1)
340MyClass.New()
190 references to LookupResult
Microsoft.CodeAnalysis.VisualBasic (190)
Binding\Binder.vb (4)
138Public Overridable Sub Lookup(lookupResult As LookupResult, 151Dim currentResult As LookupResult = LookupResult.GetInstance() 206Friend Overridable Sub LookupInSingleBinder(lookupResult As LookupResult,
Binding\Binder_Attributes.vb (9)
120Friend Sub LookupAttributeType(lookupResult As LookupResult, 155Private Sub Lookup(lookupResult As LookupResult, 168Private Sub CheckAttributeTypeViability(lookupResult As LookupResult, ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) 281resultKind = LookupResult.WorseResultKind(resultKind, LookupResultKind.Empty) 283resultKind = LookupResult.WorseResultKind(resultKind, LookupResultKind.Inaccessible) 297resultKind = LookupResult.WorseResultKind(resultKind, LookupResultKind.OverloadResolutionFailure) 437Dim result As LookupResult = LookupResult.GetInstance() 605Private Shared Function GetBestAttributeFieldOrProperty(result As LookupResult) As Symbol
Binding\Binder_Expressions.vb (10)
2488Dim result As LookupResult = LookupResult.GetInstance() 2547Private Function BindSimpleName(result As LookupResult, 2874Dim lookupResult As LookupResult = lookupResult.GetInstance() 3071lookupResult As LookupResult, 3376Private Function AdjustReceiverNamespace(lookupResult As LookupResult, receiver As BoundExpression) As BoundExpression 3577Dim result = LookupResult.GetInstance() 4730Dim lookupResult As LookupResult = lookupResult.GetInstance()
Binding\Binder_InterpolatedString.vb (1)
152Dim lookup = LookupResult.GetInstance()
Binding\Binder_Invocation.vb (2)
20lookupResult As LookupResult, 521Dim result = LookupResult.GetInstance()
Binding\Binder_Lambda.vb (1)
1122Friend Overrides Sub LookupInSingleBinder(lookupResult As LookupResult, name As String, arity As Integer, options As LookupOptions, originalBinder As Binder,
Binding\Binder_Lookup.vb (65)
22Friend Sub LookupMember(lookupResult As LookupResult, 34Friend Sub LookupMember(lookupResult As LookupResult, 43Dim tempResult = lookupResult.GetInstance() 48Friend Sub LookupMember(lookupResult As LookupResult, 60Friend Sub LookupMemberImmediate(lookupResult As LookupResult, 73lookupResult As LookupResult, 86Friend Sub LookupMemberInModules(lookupResult As LookupResult, 333Public Shared Sub Lookup(lookupResult As LookupResult, 343Dim tempResult = lookupResult.GetInstance() 368Public Shared Sub Lookup(lookupResult As LookupResult, 385Dim currentResult = lookupResult.GetInstance() 399Public Shared Sub LookupImmediate(lookupResult As LookupResult, 477Public Shared Sub LookupInModules(lookupResult As LookupResult, 491Dim currentResult As LookupResult = Nothing 492Dim tempResult = lookupResult.GetInstance() 501currentResult = lookupResult.GetInstance() 569Friend Shared Sub Lookup(lookupResult As LookupResult, 575tempResult As LookupResult, 636Private Shared Sub LookupInClass(result As LookupResult, 643tempResult As LookupResult, 657If result.IsGoodOrAmbiguous AndAlso tempResult.IsGoodOrAmbiguous AndAlso Not LookupResult.CanOverload(result.Symbols(0), tempResult.Symbols(0)) Then 716result As LookupResult, 732Private Shared Sub FindWinRTMembers(result As LookupResult, 735tempResult As LookupResult, 766Dim tmp = LookupResult.GetInstance() 858Private Shared Sub LookupInSubmissions(result As LookupResult, 866Dim submissionSymbols = LookupResult.GetInstance() 867Dim nonViable = LookupResult.GetInstance() 929Public Shared Sub LookupDefaultProperty(result As LookupResult, container As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) 932Dim tempResult = LookupResult.GetInstance() 937Dim tempResult = LookupResult.GetInstance() 942Dim tempResult = LookupResult.GetInstance() 949result As LookupResult, 952tempResult As LookupResult, 984result As LookupResult, 987tempResult As LookupResult, 1007result As LookupResult, 1010tempResult As LookupResult, 1038result As LookupResult, 1041tempResult As LookupResult, 1051Dim tmpResult = LookupResult.GetInstance() 1079result As LookupResult, 1083tempResult As LookupResult, 1144result As LookupResult, 1150tempResult As LookupResult, 1173lookupResult As LookupResult, 1251lookupResult As LookupResult, 1288Dim lookup = LookupResult.GetInstance() 1444Private Shared Sub LookupInInterface(lookupResult As LookupResult, 1450tempResult As LookupResult, 1470Dim currentResult = lookupResult.GetInstance() 1491Private Shared Sub LookupInInterfaces(lookupResult As LookupResult, 1508Dim currentResult = lookupResult.GetInstance() 1584Private Shared Sub FilterSymbolsInLookupResult(result As LookupResult, kind As SymbolKind, leaveInsteadOfRemoving As Boolean) 1607Private Shared Sub LookupInTypeParameter(lookupResult As LookupResult, 1613tempResult As LookupResult, 1623Private Shared Sub LookupInTypeParameterNoExtensionMethods(result As LookupResult, 1629tempResult As LookupResult, 1656Dim interfaceResult = LookupResult.GetInstance() 1682Private Shared Sub ClearLookupResultIfNotMethods(methodsOnly As Boolean, lookupResult As LookupResult) 1727knownResult As LookupResult, 1728newResult As LookupResult, 1773Dim cantOverloadEachOther = Not LookupResult.CanOverload(knownSymbol, newSymbol) 1911Private Shared Function AnyShadows(result As LookupResult) As Boolean 2083Private Shared Sub LookupWithoutInheritance(lookupResult As LookupResult,
Binding\Binder_ObjectInitializer.vb (6)
387resultExpression = New BoundBadExpression(node, LookupResult.WorseResultKind(resultKind, LookupResultKind.Empty), 447LookupResult.WorseResultKind(constructorsGroup.ResultKind, badExpression.ResultKind), constructorsGroup.ReceiverOpt, 462resultExpression = badExpression.Update(LookupResult.WorseResultKind(resultKind, badExpression.ResultKind), 515Debug.Assert(LookupResult.WorseResultKind(resultKind, resultExpression.ResultKind) = resultExpression.ResultKind) 892Dim result = LookupResult.GetInstance 954result As LookupResult,
Binding\Binder_Query.vb (6)
727Dim lookup = LookupResult.GetInstance() 3991Public Overrides Sub Lookup(lookupResult As LookupResult, name As String, arity As Integer, options As LookupOptions, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) 4423Dim lookupResult As LookupResult = LookupResult.GetInstance() 4556Dim lookupResult As LookupResult = LookupResult.GetInstance()
Binding\Binder_Statements.vb (6)
932Dim result = LookupResult.GetInstance() 1777Dim result = LookupResult.GetInstance() 1836Dim result = LookupResult.GetInstance 2987Dim result As LookupResult = LookupResult.GetInstance 4270result As LookupResult,
Binding\Binder_Symbols.vb (11)
247Dim lookupResult As LookupResult = LookupResult.GetInstance() 491Dim lookupResult As LookupResult = LookupResult.GetInstance() 550Private Shared Sub LookupTypeOrNamespaceSyntax(lookupResult As LookupResult, 685Private Shared Sub AnalyzeLookupResultForIllegalBaseTypeReferences(lookupResult As LookupResult, 740Private Shared Function ErrorTypeFromLookupResult(name As String, result As LookupResult, binder As Binder) As ErrorTypeSymbol 836Private Shared Sub LookupBasicName(lookupResult As LookupResult, 867Private Shared Sub LookupGenericName(lookupResult As LookupResult, 928Private Shared Sub LookupDottedName(lookupResult As LookupResult, 1017Private Shared Sub LookupGenericDottedName(lookupResult As LookupResult,
Binding\Binder_XmlLiterals.vb (1)
965Dim result = LookupResult.GetInstance()
Binding\BlockBaseBinder.vb (1)
57Friend Overrides Sub LookupInSingleBinder(lookupResult As LookupResult,
Binding\DocumentationCommentCrefBinder.vb (5)
728Dim result As LookupResult = LookupResult.GetInstance() 752Dim lookupResult As LookupResult = lookupResult.GetInstance() 867Private Shared Sub CollectGoodOrAmbiguousFromLookupResult(lookupResult As LookupResult, symbols As ArrayBuilder(Of Symbol), preserveAlias As Boolean)
Binding\DocumentationCommentCrefBinder_Compat.vb (4)
171lookupResult As LookupResult, 260Dim lookupResult As LookupResult = LookupResult.GetInstance() 422Private Shared Sub CreateGoodOrAmbiguousFromLookupResultAndFree(lookupResult As LookupResult, result As ArrayBuilder(Of Symbol), preserveAliases As Boolean)
Binding\DocumentationCommentCrefBinder_TypeParameters.vb (1)
25Friend Overrides Sub LookupInSingleBinder(lookupResult As LookupResult,
Binding\DocumentationCommentParamBinder.vb (1)
89Friend Overrides Sub LookupInSingleBinder(lookupResult As LookupResult,
Binding\DocumentationCommentTypeParamBinder.vb (1)
72Friend Overrides Sub LookupInSingleBinder(lookupResult As LookupResult,
Binding\DocumentationCommentTypeParamRefBinder.vb (2)
36Dim lookupResult As LookupResult = lookupResult.GetInstance()
Binding\ExecutableCodeBinder.vb (1)
114Friend Overrides Sub LookupInSingleBinder(lookupResult As LookupResult,
Binding\ForOrForEachBlockBinder.vb (1)
80Dim result = LookupResult.GetInstance()
Binding\ImplicitVariableBinder.vb (1)
207Friend Overrides Sub LookupInSingleBinder(lookupResult As LookupResult,
Binding\ImportAliasesBinder.vb (1)
48Friend Overrides Sub LookupInSingleBinder(lookupResult As LookupResult,
Binding\ImportedTypesAndNamespacesMembersBinder.vb (3)
34Friend Overrides Sub LookupInSingleBinder(lookupResult As LookupResult, 44Dim currentResult As LookupResult 50currentResult = LookupResult.GetInstance()
Binding\LookupResult.vb (11)
247Private ReadOnly _pool As ObjectPool(Of LookupResult) 330Private Shared ReadOnly s_poolInstance As ObjectPool(Of LookupResult) = CreatePool() 332Private Shared Function CreatePool() As ObjectPool(Of LookupResult) 333Dim pool As ObjectPool(Of LookupResult) = Nothing 334pool = New ObjectPool(Of LookupResult)(Function() New LookupResult(pool), 128) 339Private Sub New(pool As ObjectPool(Of LookupResult)) 352Public Shared Function GetInstance() As LookupResult 394Public Sub SetFrom(other As LookupResult) 436Public Sub MergePrioritized(other As LookupResult) 452Public Sub MergeAmbiguous(other As LookupResult, 555Public Sub MergeOverloadedOrPrioritized(other As LookupResult, checkIfCurrentHasOverloads As Boolean)
Binding\MethodTypeParametersBinder.vb (1)
39Friend Overrides Sub LookupInSingleBinder(lookupResult As LookupResult,
Binding\NamedTypeBinder.vb (3)
72Friend Overrides Sub LookupInSingleBinder(lookupResult As LookupResult, 87Dim typeParameterLookupResult = LookupResult.GetInstance() 131Private Sub LookupTypeParameter(lookupResult As LookupResult,
Binding\NamespaceBinder.vb (1)
70Friend Overrides Sub LookupInSingleBinder(lookupResult As LookupResult,
Binding\SubOrFunctionBodyBinder.vb (1)
61Friend Overrides Sub LookupInSingleBinder(lookupResult As LookupResult,
Binding\TypesOfImportedNamespacesMembersBinder.vb (2)
34Friend Overrides Sub LookupInSingleBinder(lookupResult As LookupResult, 45Dim currentResult = LookupResult.GetInstance()
BoundTree\BoundMethodGroup.vb (1)
64Dim lookup = LookupResult.GetInstance()
BoundTree\BoundNamespaceExpression.vb (1)
29Return LookupResult.WorseResultKind(LookupResultKind.Ambiguous, MyBase.ResultKind)
Compilation\SemanticModel.vb (7)
1158resultKind = LookupResult.WorseResultKind(resultKind, group.ResultKind) 1447resultKind = LookupResult.WorseResultKind(resultKind, boundAttribute.ResultKind) 1452resultKind = LookupResult.WorseResultKind(resultKind, boundBadExpression.ResultKind) 1504resultKind = LookupResult.WorseResultKind(resultKind, LookupResultKind.OverloadResolutionFailure) 1961Dim result = LookupResult.GetInstance() 2392Dim lookupResult As LookupResult = LookupResult.GetInstance()
Compilation\VisualBasicCompilation.vb (2)
1563Dim lookupResult As LookupResult = lookupResult.GetInstance()
Lowering\AsyncRewriter\AsyncRewriter.vb (2)
545Dim result = LookupResult.GetInstance() 604Dim result = LookupResult.GetInstance()
Semantics\OverloadResolution.vb (1)
3615Dim accessibilityCmp As Integer = LookupResult.CompareAccessibilityOfSymbolsConflictingInSameContainer(firstSymbol, secondSymbol)
Symbols\Source\ImplementsHelper.vb (8)
193Dim lookup As LookupResult = LookupResult.GetInstance() 216resultKind = LookupResult.WorseResultKind(lookup.Kind, LookupResultKind.Ambiguous) 298resultKind = LookupResult.WorseResultKind(lookup.Kind, LookupResultKind.OverloadResolutionFailure) 309resultKind = LookupResult.WorseResultKind(lookup.Kind, LookupResultKind.Ambiguous) 335resultKind = LookupResult.WorseResultKind(lookup.Kind, LookupResultKind.OverloadResolutionFailure) 361resultKind = LookupResult.WorseResultKind(resultKind, lookup.Kind) 363resultKind = LookupResult.WorseResultKind(resultKind, LookupResultKind.Inaccessible) ' we specified IgnoreAccessibility above.
Symbols\Source\OverloadingHelper.vb (1)
159Dim result = LookupResult.GetInstance()
Symbols\Source\OverrideHidingHelper.vb (1)
953LookupResult.CompareAccessibilityOfSymbolsConflictingInSameContainer(originalSym, originalOther) < 0 Then
Symbols\Source\SourceMemberMethodSymbol.vb (3)
860Dim witheventsLookup = LookupResult.GetInstance 904Dim eventLookup = LookupResult.GetInstance 945Dim propertyLookup = LookupResult.GetInstance