Open sandboxFocus

Interface INamespaceOrNamedType

Represents a namespace or a named type.

Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
public interface INamespaceOrNamedType : INamedDeclaration, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable, IEquatable<IDeclaration>

Properties

Name Description
ContainingNamespace

Gets the parent namespace, or null if the current object is the global namespace (i.e. ig IsGlobalNamespace is true).

FullName

Gets the full name of the namespace, or an empty string if this is the global namespace. The separator for nested types is the dot, and there is no suffix for generic types.

Types

Gets the list of types defined in the current namespace or type.

Methods

Name Description
ToRef()

Extension Methods