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