SymbolInfo.Symbol 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.