SymbolInfo.Symbol Property

Definition

The symbol that was referred to by the syntax node, if any. Returns null if the given expression did not bind successfully to a single symbol. If null is returned, it may still be that case that we have one or more "best guesses" as to what symbol was intended. These best guesses are available via the CandidateSymbols property.

public:
 property Microsoft::CodeAnalysis::ISymbol ^ Symbol { Microsoft::CodeAnalysis::ISymbol ^ get(); };
public Microsoft.CodeAnalysis.ISymbol Symbol { get; }
public Microsoft.CodeAnalysis.ISymbol? Symbol { get; }
member this.Symbol : Microsoft.CodeAnalysis.ISymbol
Public ReadOnly Property Symbol As ISymbol

Property Value

Applies to