SyntaxGenerator.Declaration(ISymbol) Method
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.
Creates a declaration matching an existing symbol.
public:
Microsoft::CodeAnalysis::SyntaxNode ^ Declaration(Microsoft::CodeAnalysis::ISymbol ^ symbol);
public Microsoft.CodeAnalysis.SyntaxNode Declaration (Microsoft.CodeAnalysis.ISymbol symbol);
member this.Declaration : Microsoft.CodeAnalysis.ISymbol -> Microsoft.CodeAnalysis.SyntaxNode
Public Function Declaration (symbol As ISymbol) As SyntaxNode
Parameters
- symbol
- ISymbol