SyntaxGenerator.GetExpression(SyntaxNode) Method

Definition

Gets the expression associated with the declaration.

public:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ GetExpression(Microsoft::CodeAnalysis::SyntaxNode ^ declaration);
public abstract Microsoft.CodeAnalysis.SyntaxNode GetExpression (Microsoft.CodeAnalysis.SyntaxNode declaration);
public abstract Microsoft.CodeAnalysis.SyntaxNode? GetExpression (Microsoft.CodeAnalysis.SyntaxNode declaration);
abstract member GetExpression : Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function GetExpression (declaration As SyntaxNode) As SyntaxNode

Parameters

declaration
SyntaxNode

Returns

Applies to