69 references to Symbols
Microsoft.CodeAnalysis.VisualBasic (69)
Binding\Binder_Attributes.vb (1)
612Dim symbols = result.Symbols
Binding\Binder_Expressions.vb (6)
3128symbols = lookupResult.Symbols.ToImmutable() 3158lookupResult.Symbols.ToDowncastedImmutable(Of PropertySymbol), 3380Dim symbols As ArrayBuilder(Of Symbol) = lookupResult.Symbols 3395If symbols IsNot lookupResult.Symbols Then 3583symbol = DirectCast(result.Symbols.First(), LabelSymbol) 4794lookupResult.Symbols.ToDowncastedImmutable(Of PropertySymbol),
Binding\Binder_InterpolatedString.vb (1)
166Dim methodGroup = New BoundMethodGroup(node.Syntax, Nothing, lookup.Symbols.ToDowncastedImmutable(Of MethodSymbol), lookup.Kind, Nothing, QualificationKind.QualifiedViaTypeName).MakeCompilerGenerated()
Binding\Binder_Invocation.vb (1)
43lookupResult.Symbols.ToDowncastedImmutable(Of MethodSymbol),
Binding\Binder_Lookup.vb (15)
509If currentResult.StopFurtherLookup AndAlso currentResult.Symbols.Count > 0 AndAlso 510lookupResult.StopFurtherLookup AndAlso lookupResult.Symbols.Count > 0 Then 687If Not result.Symbols.First.IsOverloadable Then 755For Each sym In result.Symbols 791For Each sym In tmp.Symbols 803For Each sym In result.Symbols 892Dim first = submissionSymbols.Symbols.First 902If submissionSymbols.HasSymbol AndAlso submissionSymbols.Symbols.First.Kind <> lookingForOverloadsOfKind.Value Then 909Debug.Assert(result.Symbols.All(Function(s) s.IsOverloadable)) 1298For Each method As MethodSymbol In lookup.Symbols 1553Dim symbols As ArrayBuilder(Of Symbol) = lookupResult.Symbols 1587Dim resultSymbols As ArrayBuilder(Of Symbol) = result.Symbols 1736Dim knownSymbols As ArrayBuilder(Of Symbol) = knownResult.Symbols 1737Dim newSymbols As ArrayBuilder(Of Symbol) = newResult.Symbols 1912For Each sym As Symbol In result.Symbols
Binding\Binder_Query.vb (2)
4440result = InferControlVariableType(lookupResult.Symbols, failedDueToAnAmbiguity) 4449result = InferControlVariableType(lookupResult.Symbols, failedDueToAnAmbiguity)
Binding\Binder_Statements.vb (3)
4189lookupResult.Symbols.ToDowncastedImmutable(Of PropertySymbol), 4283For Each candidateSymbol In result.Symbols 4304For Each candidateSymbol In result.Symbols
Binding\Binder_Symbols.vb (1)
745Return Binder.GetErrorSymbol(name, result.Diagnostic, result.Symbols.ToImmutable(), result.Kind)
Binding\Binder_XmlLiterals.vb (3)
982Debug.Assert(result.Symbols.Count > 0) 988result.Symbols.ToDowncastedImmutable(Of MethodSymbol), 994result.Symbols.ToDowncastedImmutable(Of PropertySymbol),
Binding\DocumentationCommentCrefBinder.vb (1)
884For Each sym In lookupResult.Symbols
Binding\DocumentationCommentCrefBinder_Compat.vb (3)
428Debug.Assert(lookupResult.Symbols.Count = 1) 443result.AddRange(lookupResult.Symbols) 445For Each sym In lookupResult.Symbols
Binding\ImportedTypesAndNamespacesMembersBinder.vb (8)
75Debug.Assert(lookupResult.Symbols.Count > 0) ' How can it stop lookup otherwise? 76Debug.Assert(currentResult.Symbols.Count > 0) ' How can it stop lookup otherwise? 91If Not (lookupResult.Symbols.Count = currentResult.Symbols.Count AndAlso 95lookupResult.Symbols.AddRange(currentResult.Symbols) 119If lookupResult.IsGood AndAlso lookupResult.Symbols.Count > 1 AndAlso lookupResult.Symbols(0).Kind = SymbolKind.Namespace Then 121lookupResult.SetFrom(MergedNamespaceSymbol.CreateNamespaceGroup(lookupResult.Symbols.Cast(Of NamespaceSymbol)))
Binding\LookupResult.vb (8)
461ambiguousResults.AddRange(Me.Symbols) 467ambiguousResults.AddRange(other.Symbols) 489ambiguousResults.AddRange(Me.Symbols) 515For Each sym In Symbols 560_symList.AddRange(other.Symbols) 579_symList.AddRange(other.Symbols) 640If Me.Symbols.All(Function(candidate, otherSymbol) candidate.DeclaredAccessibility < otherSymbol.DeclaredAccessibility, other.Symbol) Then 907Me.StopFurtherLookup AndAlso Me.Symbols.Count > 0 Then
BoundTree\BoundMethodGroup.vb (1)
74methods = lookup.Symbols.ToDowncastedImmutable(Of MethodSymbol)()
Compilation\SemanticModel.vb (2)
1982symbolSet.UnionWith(result.Symbols) 1991results.AddRange(result.Symbols)
Compilation\VisualBasicCompilation.vb (1)
1573For Each candidate In lookupResult.Symbols
Lowering\AsyncRewriter\AsyncRewriter.vb (4)
552Debug.Assert(result.Symbols.Count > 0) 557result.Symbols.ToDowncastedImmutable(Of MethodSymbol), 611Debug.Assert(result.Symbols.Count > 0) 615result.Symbols.ToDowncastedImmutable(Of PropertySymbol),
Symbols\Source\ImplementsHelper.vb (3)
223For Each possibleMatch In lookup.Symbols 313candidateSymbols.AddRange(lookup.Symbols) 333candidateSymbols.AddRange(lookup.Symbols)
Symbols\Source\OverloadingHelper.vb (1)
162Dim lookupSymbols As ArrayBuilder(Of Symbol) = result.Symbols
Symbols\Source\SourceMemberMethodSymbol.vb (4)
867candidateEventSymbols.AddRange(witheventsLookup.Symbols) 908candidateEventSymbols.AddRange(eventLookup.Symbols) 949candidatePropertySymbols.AddRange(propertyLookup.Symbols) 956Dim symbols = propertyLookup.Symbols