コード例 #1
0
 public AliasAndUsingDirective(AliasSymbol alias, UsingDirectiveSyntax?usingDirective)
 {
     this.Alias = alias;
     this.UsingDirectiveReference = usingDirective?.GetReference();
 }
コード例 #2
0
 public NamespaceOrTypeAndUsingDirective(NamespaceOrTypeSymbol namespaceOrType, UsingDirectiveSyntax?usingDirective, ImmutableArray <AssemblySymbol> dependencies)
 {
     this.NamespaceOrType         = namespaceOrType;
     this.UsingDirectiveReference = usingDirective?.GetReference();
     this.Dependencies            = dependencies.NullToEmpty();
 }