SyntaxGenerator.Declaration(ISymbol) Method

Definition

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

Returns

Applies to