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