SymbolInfo.CandidateReason 属性

定义

如果表达式未成功解析为符号,但可能已考虑但丢弃了一个或多个符号,则此属性描述为什么这些符号或符号不被视为合适。

public:
 property Microsoft::CodeAnalysis::CandidateReason CandidateReason { Microsoft::CodeAnalysis::CandidateReason get(); };
public Microsoft.CodeAnalysis.CandidateReason CandidateReason { get; }
member this.CandidateReason : Microsoft.CodeAnalysis.CandidateReason
Public ReadOnly Property CandidateReason As CandidateReason

属性值

适用于