Delen via


SyntaxGenerator.NameExpression(INamespaceOrTypeSymbol) Method

Definition

Creates a name that denotes a type or namespace.

public:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ NameExpression(Microsoft::CodeAnalysis::INamespaceOrTypeSymbol ^ namespaceOrTypeSymbol);
public abstract Microsoft.CodeAnalysis.SyntaxNode NameExpression (Microsoft.CodeAnalysis.INamespaceOrTypeSymbol namespaceOrTypeSymbol);
abstract member NameExpression : Microsoft.CodeAnalysis.INamespaceOrTypeSymbol -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function NameExpression (namespaceOrTypeSymbol As INamespaceOrTypeSymbol) As SyntaxNode

Parameters

namespaceOrTypeSymbol
INamespaceOrTypeSymbol

The symbol to create a name for.

Returns

Applies to