3 types derived from WithUsingNamespacesAndTypesBinder
Microsoft.CodeAnalysis.CSharp (3)
Binder\WithUsingNamespacesAndTypesBinder.cs (3)
267
private sealed class FromSyntax :
WithUsingNamespacesAndTypesBinder
297
private sealed class FromSyntaxWithPreviousSubmissionImports :
WithUsingNamespacesAndTypesBinder
334
private sealed class FromNamespacesOrTypes :
WithUsingNamespacesAndTypesBinder
14 references to WithUsingNamespacesAndTypesBinder
Microsoft.CodeAnalysis.CSharp (14)
Binder\BinderFactory.BinderFactoryVisitor.cs (3)
977
result =
WithUsingNamespacesAndTypesBinder
.Create(compilation.GlobalImports, result, withImportChainEntry: true);
984
result =
WithUsingNamespacesAndTypesBinder
.Create((SourceNamespaceSymbol)compilation.SourceModule.GlobalNamespace, compilationUnit, result,
1046
return WithExternAndUsingAliasesBinder.Create(declaringSymbol, declarationSyntax,
WithUsingNamespacesAndTypesBinder
.Create(declaringSymbol, declarationSyntax, next));
Binder\WithExternAndUsingAliasesBinder.cs (7)
24
protected WithExternAndUsingAliasesBinder(
WithUsingNamespacesAndTypesBinder
next)
72
Debug.Assert(this.Next is
WithUsingNamespacesAndTypesBinder
);
98
internal static WithExternAndUsingAliasesBinder Create(SourceNamespaceSymbol declaringSymbol, CSharpSyntaxNode declarationSyntax,
WithUsingNamespacesAndTypesBinder
next)
103
internal static WithExternAndUsingAliasesBinder Create(ImmutableArray<AliasAndExternAliasDirective> externAliases, ImmutableDictionary<string, AliasAndUsingDirective> usingAliases,
WithUsingNamespacesAndTypesBinder
next)
117
internal FromSyntax(SourceNamespaceSymbol declaringSymbol, CSharpSyntaxNode declarationSyntax,
WithUsingNamespacesAndTypesBinder
next)
231
internal FromSymbols(ImmutableArray<AliasAndExternAliasDirective> externAliases, ImmutableDictionary<string, AliasAndUsingDirective> usingAliases,
WithUsingNamespacesAndTypesBinder
next)
262
return new ImportChain(Imports.Create(_usingAliases, ((
WithUsingNamespacesAndTypesBinder
)Next!).GetUsings(basesBeingResolved: null), _externAliases), Next!.ImportChain);
Binder\WithUsingNamespacesAndTypesBinder.cs (2)
252
internal static
WithUsingNamespacesAndTypesBinder
Create(SourceNamespaceSymbol declaringSymbol, CSharpSyntaxNode declarationSyntax, Binder next, bool withPreviousSubmissionImports = false, bool withImportChainEntry = false)
262
internal static
WithUsingNamespacesAndTypesBinder
Create(ImmutableArray<NamespaceOrTypeAndUsingDirective> namespacesOrTypes, Binder next, bool withImportChainEntry = false)
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
473
Binder binder =
WithUsingNamespacesAndTypesBinder
.Create(compilation.GlobalImports, next: new BuckStopsHereBinder(compilation, null), withImportChainEntry: true);
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
225
result = WithExternAndUsingAliasesBinder.Create(declaringSymbol, syntaxNode,
WithUsingNamespacesAndTypesBinder
.Create(declaringSymbol, syntaxNode, result));