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