Delen via


SyntaxGenerator.NameOfExpression(SyntaxNode) Method

Definition

Creates an nameof expression.

public:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ NameOfExpression(Microsoft::CodeAnalysis::SyntaxNode ^ expression);
public abstract Microsoft.CodeAnalysis.SyntaxNode NameOfExpression (Microsoft.CodeAnalysis.SyntaxNode expression);
abstract member NameOfExpression : Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function NameOfExpression (expression As SyntaxNode) As SyntaxNode

Parameters

expression
SyntaxNode

Returns

Applies to