Skip to content

Commit

Permalink
Anonymous types in quick info should not have navigation links (#76048)
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusNajmabadi authored Nov 23, 2024
2 parents f0bc04b + a124e51 commit b25b211
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static bool ReplaceStructuralTypes(
if (structuralTypeToName.TryGetValue(type, out var name) &&
part.ToString() != name)
{
newParts.Add(new SymbolDisplayPart(part.Kind, part.Symbol, name));
newParts.Add(new SymbolDisplayPart(part.Kind, symbol: null, name));
changed = true;
continue;
}
Expand Down

0 comments on commit b25b211

Please sign in to comment.