ImportedNamespaceOrType Struct

Definition

Represents an INamespaceOrTypeSymbol that has been imported, and the location the import was declared at. This corresponds to using Namespace; or using static Type; in C#, or Imports TypeOrNamespace in Visual Basic.

public readonly struct ImportedNamespaceOrType
type ImportedNamespaceOrType = struct
Public Structure ImportedNamespaceOrType
Inheritance
ImportedNamespaceOrType

Properties

DeclaringSyntaxReference

Location in source where the using directive or Imports clause was declared. May be null for Visual Basic for a project-level import directive, or for a C# global using provided directly through Usings.

NamespaceOrType

Applies to