ImportedXmlNamespace.DeclaringSyntaxReference Property

Definition

Location in source where the Imports clause was declared. May be null for a project-level import directive.

C#
public Microsoft.CodeAnalysis.SyntaxReference? DeclaringSyntaxReference { get; }

Property Value

Applies to

Product Versions
Roslyn 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 4.12.2, 4.13.0