6 references to DescriptionProperty
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\AsyncCompletion\CompletionSource.cs (1)
466
completionList.SuggestionModeItem.Properties.TryGetValue(CommonCompletionItem.
DescriptionProperty
, out var description) ? description : string.Empty);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Completion\FileSystemCompletionHelperTests.cs (1)
21
actual.Select(c => $"'{c.DisplayText}', {string.Join(", ", c.Tags)}, '{c.Properties[CommonCompletionItem.
DescriptionProperty
]}'"),
Microsoft.CodeAnalysis.Features (4)
Completion\CommonCompletionItem.cs (4)
14
public const string DescriptionProperty = nameof(
DescriptionProperty
);
47
properties = properties.Add(
DescriptionProperty
, EncodeDescription(description.ToTaggedText()));
64
=> item.Properties.ContainsKey(
DescriptionProperty
);
68
if (item.Properties.TryGetValue(
DescriptionProperty
, out var encodedDescription))