13 references to CompareItems
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (13)
Completion\AbstractCompletionProviderTests.cs (13)
225c => CompareItems(c.DisplayText, result.Name)
226&& CompareItems(c.DisplayTextSuffix, result.DisplayTextSuffix ?? "")
227&& CompareItems(c.DisplayTextPrefix, result.DisplayTextPrefix ?? "")
228&& CompareItems(c.InlineDescription, result.InlineDescription ?? "")
246if (!CompareItems(c.DisplayText, result.Name))
248if (!CompareItems(c.DisplayTextSuffix, result.DisplayTextSuffix ?? ""))
250if (!CompareItems(c.DisplayTextPrefix, result.DisplayTextPrefix ?? ""))
252if (!CompareItems(c.InlineDescription, result.InlineDescription ?? ""))
617var firstItem = items.First(i => CompareItems(i.DisplayText, itemToCommit));
740var firstItem = items.First(i => CompareItems(i.DisplayText + i.DisplayTextSuffix, itemToCommit));
971AssertEx.Any(completionList.ItemsList, c => CompareItems(c.DisplayText, expectedItem));
973var item = completionList.ItemsList.First(c => CompareItems(c.DisplayText, expectedItem));
989AssertEx.None(completionList.ItemsList, c => CompareItems(c.DisplayText, expectedItem));