protected WithExternAndUsingAliasesBinder(WithUsingNamespacesAndTypesBinder next) : base(next) { #if DEBUG Debug.Assert(!next.WithImportChainEntry); #endif }
internal static WithExternAndUsingAliasesBinder Create(SourceNamespaceSymbol declaringSymbol, CSharpSyntaxNode declarationSyntax, WithUsingNamespacesAndTypesBinder next) { return(new FromSyntax(declaringSymbol, declarationSyntax, next)); }
internal FromSymbols(ImmutableArray <AliasAndExternAliasDirective> externAliases, ImmutableDictionary <string, AliasAndUsingDirective> usingAliases, WithUsingNamespacesAndTypesBinder next) : base(next) { Debug.Assert(!externAliases.IsDefault); _externAliases = externAliases; _usingAliases = usingAliases; }
internal FromSyntax(SourceNamespaceSymbol declaringSymbol, CSharpSyntaxNode declarationSyntax, WithUsingNamespacesAndTypesBinder next) : base(next) { Debug.Assert(declarationSyntax.IsKind(SyntaxKind.CompilationUnit) || declarationSyntax.IsKind(SyntaxKind.NamespaceDeclaration)); _declaringSymbol = declaringSymbol; _declarationSyntax = declarationSyntax; }
internal static WithExternAndUsingAliasesBinder Create(ImmutableArray <AliasAndExternAliasDirective> externAliases, ImmutableDictionary <string, AliasAndUsingDirective> usingAliases, WithUsingNamespacesAndTypesBinder next) { return(new FromSymbols(externAliases, usingAliases, next)); }