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
"/>
36
internal int SymbolCount => Symbol != null ? 1 :
CandidateSymbols
.Length;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKeyResolution.Enumeration.cs (3)
38
while (++_index < _symbolKeyResolution.
CandidateSymbols
.Length)
40
if (_symbolKeyResolution.
CandidateSymbols
[_index] is TSymbol)
58
return (TSymbol)_symbolKeyResolution.
CandidateSymbols
[_index];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKeyResolutionExtensions.cs (2)
16
if (resolution.
CandidateSymbols
.Length > 0)
18
return resolution.
CandidateSymbols
[0];