Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusNajmabadi committed Apr 27, 2023
1 parent 5e19a7f commit f51fea2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -913,8 +913,8 @@ internal static void CreateNameToMembersMap
where TNamedTypeSymbol : class, TNamespaceOrTypeSymbol
where TNamespaceSymbol : class, TNamespaceOrTypeSymbol
{
foreach (var kvp in dictionary)
result.Add(kvp.Key, createMembers(kvp.Value));
foreach (var (name, value) in dictionary)
result.Add(name, createMembers(value));

return;

Expand Down

0 comments on commit f51fea2

Please sign in to comment.