SymbolInfo.CandidateSymbols Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro