Skip to content
代码片段 群组 项目
提交 8af5b49d 编辑于 作者: Gen Lu's avatar Gen Lu
浏览文件

Make VSCompletionItemData a struct

上级 b1c50848
No related branches found
No related tags found
无相关合并请求
......@@ -322,7 +322,7 @@ public async Task<object> GetDescriptionAsync(IAsyncCompletionSession session, V
/// So as a compromise, we cache data that can be calculated from Roslyn completion item to avoid repeated
/// calculation cost for cached Roslyn completion items.
/// </summary>
private class VSCompletionItemData
private readonly struct VSCompletionItemData
{
public VSCompletionItemData(string displayText, ImageElement icon, ImmutableArray<AsyncCompletionData.CompletionFilter> filters, ImmutableArray<ImageElement> attributeIcons, string insertionText)
{
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册