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