public ViableResult(DeclarationReference declaration) { Requires.NotNull(declaration, nameof(declaration)); symbols = new List <DeclarationReference>() { declaration }; }
public ImportedSymbol(DeclarationReference reference, string alias) { Requires.NotNull(reference, nameof(reference)); Requires.NotEmpty(alias, nameof(alias)); Reference = reference; Alias = alias; IsAlias = alias != null; }
internal IdentifierName(IdentifierNameSyntax syntax, Package containingPackage, DeclarationReference declaration) : base(syntax, containingPackage) { Declaration = declaration; }
public static LookupResult Good(DeclarationReference declaration) { Requires.NotNull(declaration, nameof(declaration)); return(new ViableResult(declaration)); }