13 references to Find
Microsoft.CodeAnalysis.Workspaces (1)
Utilities\SpellChecker.cs (1)
40
var result = _bkTree.
Find
(value, threshold: null);
Microsoft.CodeAnalysis.Workspaces.UnitTests (12)
UtilityTest\BKTreeTests.cs (12)
21
var results1 = tree.
Find
("wat", threshold: 1);
24
var results2 = tree.
Find
("wat", threshold: 2);
27
var results3 = tree.
Find
("caqe", threshold: 1);
45
Assert.Single(tree.
Find
(value, threshold: 0), value.ToLower());
52
var items = tree.
Find
(value, threshold: 1);
65
var items = tree.
Find
(Delete(value, i), threshold: null);
79
var items = tree.
Find
(Insert(value, i, 'Z'), threshold: null);
93
var items = tree.
Find
(Transpose(value, i), threshold: null);
114
var results = tree.
Find
("hill", threshold: null);
117
results = tree.
Find
("liecester", threshold: null);
120
results = tree.
Find
("leicestre", threshold: null);
123
results = tree.
Find
("lecester", threshold: null);