15 references to Name
Microsoft.CodeAnalysis.CSharp (15)
Compilation\CSharpCompilation.cs (4)
4878
if (_includeNamespace && Matches(current.
Name
))
4890
if (_includeType && Matches(current.
Name
))
4986
AddCache(container.GetMembers(declaration.
Name
).OfType<NamespaceOrTypeSymbol>());
4990
AddCache(container.GetTypeMembers(declaration.
Name
));
Declarations\DeclarationTable.cs (3)
229
set.Add(current.
Name
);
336
if (includeNamespace && predicate(current.
Name
))
343
if (includeType && predicate(current.
Name
))
Declarations\MergedNamespaceDeclaration.cs (2)
23
: base(declarations.IsEmpty ? string.Empty : declarations[0].
Name
)
127
else if (allNamespacesHaveSameName && !asNamespace.
Name
.Equals(namespaces[0].Name))
Declarations\MergedTypeDeclaration.cs (2)
28
: base(declarations[0].
Name
)
256
return $"{nameof(MergedTypeDeclaration)} {
Name
}";
Declarations\SingleTypeDeclaration.cs (1)
275
return Hash.Combine(thisDecl.
Name
.GetHashCode(),
Symbols\Source\SourceMemberContainerSymbol.cs (2)
967
return declaration.
Name
;
4274
diagnostics.Add(ErrorCode.WRN_RecordEqualsWithoutGetHashCode, thisEquals.GetFirstLocation(), declaration.
Name
);
Symbols\Source\SourceNamespaceSymbol.cs (1)
77
=> _mergedDeclaration.
Name
;