1 write to DisplayTextPrefix
Microsoft.CodeAnalysis.Features (1)
Completion\CompletionItem.cs (1)
191DisplayTextPrefix = displayTextPrefix ?? "";
9 references to DisplayTextPrefix
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
624=> span.MoveTo(item.DisplayTextPrefix?.Length ?? 0).ToSpan();
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Completion\AbstractCompletionProviderTests.cs (2)
227&& CompareItems(c.DisplayTextPrefix, result.DisplayTextPrefix ?? "") 250if (!CompareItems(c.DisplayTextPrefix, result.DisplayTextPrefix ?? ""))
Microsoft.CodeAnalysis.Features (6)
Completion\CompletionItem.cs (5)
365var newDisplayTextPrefix = displayTextPrefix.HasValue ? displayTextPrefix.Value : DisplayTextPrefix; 377newDisplayTextPrefix == DisplayTextPrefix && 421/// Creates a copy of this <see cref="CompletionItem"/> with the <see cref="DisplayTextPrefix"/> property changed. 547_lazyEntireDisplayText ??= (DisplayTextPrefix.Length > 0 || DisplayTextSuffix.Length > 0) 548? DisplayTextPrefix + DisplayText + DisplayTextSuffix
Completion\Providers\ImportCompletionProvider\ImportCompletionItem.cs (1)
114displayTextPrefix: attributeItem.DisplayTextPrefix,