ImportedNamespaceOrType.DeclaringSyntaxReference Property
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.
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.
public Microsoft.CodeAnalysis.SyntaxReference? DeclaringSyntaxReference { get; }
member this.DeclaringSyntaxReference : Microsoft.CodeAnalysis.SyntaxReference
Public ReadOnly Property DeclaringSyntaxReference As SyntaxReference
Property Value
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.