30 references to AmbiguousSymbols
Microsoft.CodeAnalysis.VisualBasic (12)
Binding\Binder_Expressions.vb (2)
3099
symbols = DirectCast(di, AmbiguousSymbolDiagnostic).
AmbiguousSymbols
3360
Dim ambiguous As ImmutableArray(Of Symbol) = DirectCast(di, AmbiguousSymbolDiagnostic).
AmbiguousSymbols
Binding\Binder_Symbols.vb (1)
743
Return Binder.GetErrorSymbol(name, result.Diagnostic, DirectCast(result.Diagnostic, AmbiguousSymbolDiagnostic).
AmbiguousSymbols
, result.Kind)
Binding\DocumentationCommentCrefBinder.vb (1)
875
Dim ambiguousSymbols As ImmutableArray(Of Symbol) = DirectCast(di, AmbiguousSymbolDiagnostic).
AmbiguousSymbols
Binding\DocumentationCommentCrefBinder_Compat.vb (1)
430
Dim symbols As ImmutableArray(Of Symbol) = DirectCast(di, AmbiguousSymbolDiagnostic).
AmbiguousSymbols
Binding\LookupResult.vb (5)
459
ambiguousResults.AddRange(DirectCast(Me.Diagnostic, AmbiguousSymbolDiagnostic).
AmbiguousSymbols
)
465
ambiguousResults.AddRange(DirectCast(other.Diagnostic, AmbiguousSymbolDiagnostic).
AmbiguousSymbols
)
487
ambiguousResults.AddRange(DirectCast(Me.Diagnostic, AmbiguousSymbolDiagnostic).
AmbiguousSymbols
)
493
ambiguousResults.AddRange(DirectCast(other.Diagnostic, AmbiguousSymbolDiagnostic).
AmbiguousSymbols
)
925
For Each candidate In DirectCast(Me.Diagnostic, AmbiguousSymbolDiagnostic).
AmbiguousSymbols
Symbols\Source\ImplementsHelper.vb (1)
214
candidateSymbols.AddRange(DirectCast(lookup.Diagnostic, AmbiguousSymbolDiagnostic).
AmbiguousSymbols
)
Symbols\Source\OverloadingHelper.vb (1)
164
lookupSymbols.AddRange(DirectCast(result.Diagnostic, AmbiguousSymbolDiagnostic).
AmbiguousSymbols
)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (18)
Binding\LookupTests.vb (18)
65
Assert.Same(sym1, diag3.
AmbiguousSymbols
.Item(0))
66
Assert.Same(sym2, diag3.
AmbiguousSymbols
.Item(1))
67
Assert.Same(sym3, diag3.
AmbiguousSymbols
.Item(2))
126
Assert.Same(sym1, diag10.
AmbiguousSymbols
.Item(0))
127
Assert.Same(sym2, diag10.
AmbiguousSymbols
.Item(1))
128
Assert.Same(sym3, diag10.
AmbiguousSymbols
.Item(2))
141
Assert.Same(sym1, diag11.
AmbiguousSymbols
.Item(0))
142
Assert.Same(sym2, diag11.
AmbiguousSymbols
.Item(1))
143
Assert.Same(sym3, diag11.
AmbiguousSymbols
.Item(2))
187
Assert.Same(sym4, diag15.
AmbiguousSymbols
.Item(0))
188
Assert.Same(sym1, diag15.
AmbiguousSymbols
.Item(1))
189
Assert.Same(sym2, diag15.
AmbiguousSymbols
.Item(2))
190
Assert.Same(sym3, diag15.
AmbiguousSymbols
.Item(3))
220
Assert.Equal(4, diag19.
AmbiguousSymbols
.Length)
221
Assert.Equal(r16.Symbol, diag19.
AmbiguousSymbols
(0))
222
Assert.Equal(r17.Symbol, diag19.
AmbiguousSymbols
(1))
223
Assert.Equal(r18.Symbol, diag19.
AmbiguousSymbols
(2))
224
Assert.Equal(r2.Symbol, diag19.
AmbiguousSymbols
(3))