1 write to Icon
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Completion\CompletionResultFactory.cs (1)
372
Icon
= new ImageElement(item.Tags.GetFirstGlyph().ToLSPImageId()),
4 references to Icon
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Protocol\Internal\Efficiency\OptimizedVSCompletionListJsonConverter.cs (4)
102
if (vsCompletionItem.
Icon
!= null)
104
if (!IconRawJson.TryGetValue(vsCompletionItem.
Icon
.ImageId, out var jsonString))
106
jsonString = JsonSerializer.Serialize(vsCompletionItem.
Icon
, options);
107
IconRawJson.TryAdd(vsCompletionItem.
Icon
.ImageId, jsonString);