Share via


SymbolInfo.CandidateSymbols Property

Definition

If the expression did not successfully resolve to a symbol, but there were one or more symbols that may have been considered but discarded, this property returns those symbols. The reason that the symbols did not successfully resolve to a symbol are available in the CandidateReason property. For example, if the symbol was inaccessible, ambiguous, or used in the wrong context.

public:
 property System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::ISymbol ^> CandidateSymbols { System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::ISymbol ^> get(); };
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISymbol> CandidateSymbols { get; }
member this.CandidateSymbols : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISymbol>
Public ReadOnly Property CandidateSymbols As ImmutableArray(Of ISymbol)

Property Value

Remarks

Will never return a default array.

Applies to