VisualBasicExtensions.RootNamespace(Compilation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the compilation RootNamespace property.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::CodeAnalysis::INamespaceSymbol ^ RootNamespace(Microsoft::CodeAnalysis::Compilation ^ compilation);
public static Microsoft.CodeAnalysis.INamespaceSymbol RootNamespace (this Microsoft.CodeAnalysis.Compilation compilation);
static member RootNamespace : Microsoft.CodeAnalysis.Compilation -> Microsoft.CodeAnalysis.INamespaceSymbol
<Extension()>
Public Function RootNamespace (compilation As Compilation) As INamespaceSymbol
Parameters
- compilation
- Compilation
A source Compilation object.
Returns
A NamespaceSymbol instance, for the compilation instance RootNamespace property. otherwise Null if compilation instance is Null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.