1 write to UsingAliases
Microsoft.CodeAnalysis.CSharp (1)
Binder\Imports.cs (1)
45this.UsingAliases = usingAliases;
14 references to UsingAliases
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Expressions.cs (1)
7518if (IsUsingAlias(chain.Imports.UsingAliases, name, isSemanticModel))
Binder\Binder_Lookup.cs (3)
299IsUsingAlias(submissionImports.UsingAliases, name, originalBinder.IsSemanticModelBinder)) 322LookupSymbolInAliases(submissionImports.UsingAliases, submissionImports.ExternAliases, originalBinder, submissionSymbols, name, arity, basesBeingResolved, options, diagnose, ref useSiteInfo); 1911AddLookupSymbolsInfoInAliases(submissionImports.UsingAliases, submissionImports.ExternAliases, result, options, originalBinder);
Binder\ImportChain.cs (1)
95ImmutableDictionary<string, AliasAndUsingDirective> aliasSymbols = Imports.UsingAliases;
Binder\Imports.cs (6)
53UsingAliases.OrderBy(x => x.Value.UsingDirective.Location.SourceSpan.Start).Select(ua => $"{ua.Key} = {ua.Value.Alias.Target}").Concat( 71if (!previousSubmissionImports.UsingAliases.IsEmpty) 74foreach (var pair in previousSubmissionImports.UsingAliases) 149public bool IsEmpty => UsingAliases.IsEmpty && Usings.IsEmpty && ExternAliases.IsEmpty; 185var usingAliases = this.UsingAliases.SetItems(otherImports.UsingAliases); // NB: SetItems, rather than AddRange
Compilation\CSharpSemanticModel.cs (1)
5413imports.UsingAliases.SelectAsArray(static kvp => kvp.Value.Alias.GetPublicSymbol()),
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (2)
38Debug.Assert(result.UsingAliases.SetEquals(calculated.UsingAliases));