Skip to content

Commit

Permalink
Anonymous types in quick info should not have navigation links
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusNajmabadi committed Nov 23, 2024
1 parent f6f08b4 commit a124e51
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 a124e51

Please sign in to comment.