1 instantiation of BKTree
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Builder.cs (1)
136
return new
BKTree
(_concatenatedLowerCaseWords, nodes.MoveToImmutable(), edges.MoveToImmutable());
11 references to BKTree
Microsoft.CodeAnalysis.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Builder.cs (1)
121
internal
BKTree
Create()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.cs (2)
24
public static readonly
BKTree
Empty = new([], [], []);
61
public static
BKTree
Create(IEnumerable<string> values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Serialization.cs (1)
19
internal static
BKTree
? ReadFrom(ObjectReader reader)
Utilities\SpellChecker.cs (4)
13
/// Explicitly a reference type so that the consumer of this in <see cref="
BKTree
"/> can safely operate on an
16
internal sealed class SpellChecker(
BKTree
bKTree)
21
: this(
BKTree
.Create(corpus))
52
var bkTree =
BKTree
.ReadFrom(reader);
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
UtilityTest\BKTreeTests.cs (3)
26
var
tree = BKTree.Create(testValues);
47
var
tree = BKTree.Create(testValues);
119
var
tree = BKTree.Create(testValues);