public AliasAndUsingDirective(AliasSymbol alias, UsingDirectiveSyntax?usingDirective) { this.Alias = alias; this.UsingDirectiveReference = usingDirective?.GetReference(); }
public NamespaceOrTypeAndUsingDirective(NamespaceOrTypeSymbol namespaceOrType, UsingDirectiveSyntax?usingDirective, ImmutableArray <AssemblySymbol> dependencies) { this.NamespaceOrType = namespaceOrType; this.UsingDirectiveReference = usingDirective?.GetReference(); this.Dependencies = dependencies.NullToEmpty(); }