Base:
property
Name
Microsoft.CodeAnalysis.CSharp.Symbol.Name
14 references to Name
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Lookup.cs (3)
427if (!a.SkipInLookup && a.Alias.Name == name) 1586var name = aliasSymbol != null ? aliasSymbol.Name : symbol.Name; 1943result.AddSymbol(aliasSymbol, aliasSymbol.Name, 0);
Binder\ImportChain.cs (1)
70usedNamespaces.Add(Cci.UsedNamespaceOrType.CreateExternAlias(alias.Alias.Name));
Binder\Imports.cs (2)
55ExternAliases.Select(ea => $"extern alias {ea.Alias.Name}"))); 205replacedExternAliases.AddAll(externs2.Select(e => e.Alias.Name));
Symbols\AliasSymbol.cs (4)
90return new AliasSymbolFromResolvedTarget(expandedNamespace, Name, ContainingSymbol, _locations, _isExtern); 263=> this.TryGetFirstLocation()?.GetHashCode() ?? Name.GetHashCode(); 359if (!ContainingSymbol.DeclaringCompilation.GetExternAliasTarget(Name, out target)) 361diagnostics.Add(ErrorCode.ERR_BadExternAlias, GetFirstLocation(), Name);
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (4)
366!globalAliasesMap.ContainsKey(externAlias.Alias.Name) && // If we have a global alias with the same name declared in the same compilation unit, we already reported the conflict on the global alias. 367mergedAliases.ContainsKey(externAlias.Alias.Name)) 370diagnostics.Add(ErrorCode.ERR_DuplicateAlias, externAlias.Alias.GetFirstLocation(), externAlias.Alias.Name); 696if (externAlias.Alias.Name == identifierValueText)