8 references to CandidateSymbols
Microsoft.CodeAnalysis.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKeyResolution.cs (3)
12/// to multiple symbols (which can happen in error scenarios), then <see cref="CandidateSymbols"/> and <see 15/// If no symbol can be found <see cref="Symbol"/> will be <c>null</c> and <see cref="CandidateSymbols"/> 36internal int SymbolCount => Symbol != null ? 1 : CandidateSymbols.Length;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKeyResolution.Enumeration.cs (3)
38while (++_index < _symbolKeyResolution.CandidateSymbols.Length) 40if (_symbolKeyResolution.CandidateSymbols[_index] is TSymbol) 58return (TSymbol)_symbolKeyResolution.CandidateSymbols[_index];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKeyResolutionExtensions.cs (2)
16if (resolution.CandidateSymbols.Length > 0) 18return resolution.CandidateSymbols[0];