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