Base:
property
Name
Microsoft.CodeAnalysis.CSharp.Symbol.Name
14 references to Name
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Lookup.cs (3)
427
if (!a.SkipInLookup && a.Alias.
Name
== name)
1586
var name = aliasSymbol != null ? aliasSymbol.
Name
: symbol.Name;
1943
result.AddSymbol(aliasSymbol, aliasSymbol.
Name
, 0);
Binder\ImportChain.cs (1)
70
usedNamespaces.Add(Cci.UsedNamespaceOrType.CreateExternAlias(alias.Alias.
Name
));
Binder\Imports.cs (2)
55
ExternAliases.Select(ea => $"extern alias {ea.Alias.
Name
}")));
205
replacedExternAliases.AddAll(externs2.Select(e => e.Alias.
Name
));
Symbols\AliasSymbol.cs (4)
90
return new AliasSymbolFromResolvedTarget(expandedNamespace,
Name
, ContainingSymbol, _locations, _isExtern);
263
=> this.TryGetFirstLocation()?.GetHashCode() ??
Name
.GetHashCode();
359
if (!ContainingSymbol.DeclaringCompilation.GetExternAliasTarget(
Name
, out target))
361
diagnostics.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.
367
mergedAliases.ContainsKey(externAlias.Alias.
Name
))
370
diagnostics.Add(ErrorCode.ERR_DuplicateAlias, externAlias.Alias.GetFirstLocation(), externAlias.Alias.
Name
);
696
if (externAlias.Alias.
Name
== identifierValueText)