Compartilhar via


Compilation.GetCompilationNamespace(INamespaceSymbol) Method

Definition

Gets the corresponding compilation namespace for the specified module or assembly namespace.

public:
 Microsoft::CodeAnalysis::INamespaceSymbol ^ GetCompilationNamespace(Microsoft::CodeAnalysis::INamespaceSymbol ^ namespaceSymbol);
public Microsoft.CodeAnalysis.INamespaceSymbol GetCompilationNamespace (Microsoft.CodeAnalysis.INamespaceSymbol namespaceSymbol);
public Microsoft.CodeAnalysis.INamespaceSymbol? GetCompilationNamespace (Microsoft.CodeAnalysis.INamespaceSymbol namespaceSymbol);
member this.GetCompilationNamespace : Microsoft.CodeAnalysis.INamespaceSymbol -> Microsoft.CodeAnalysis.INamespaceSymbol
Public Function GetCompilationNamespace (namespaceSymbol As INamespaceSymbol) As INamespaceSymbol

Parameters

namespaceSymbol
INamespaceSymbol

Returns

Applies to