Esempio n. 1
0
 public ViableResult(DeclarationReference declaration)
 {
     Requires.NotNull(declaration, nameof(declaration));
     symbols = new List <DeclarationReference>()
     {
         declaration
     };
 }
Esempio n. 2
0
        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;
 }
Esempio n. 4
0
 public static LookupResult Good(DeclarationReference declaration)
 {
     Requires.NotNull(declaration, nameof(declaration));
     return(new ViableResult(declaration));
 }