2 instantiations of Suggestion
Microsoft.DotNet.Cli.Utils (2)
TypoCorrection.cs (2)
27
var possibleSuggestions = possibleTokens.Select((string possibleMatch) => new
Suggestion
(possibleMatch, possibleMatch.Length)).ToArray();
65
.Select(s => new
Suggestion
(s.PossibleMatch, GetDistance(s.PossibleMatch, currentToken)))
5 references to Suggestion
Microsoft.DotNet.Cli.Utils (5)
TypoCorrection.cs (5)
42
var matchByContains = new List<
Suggestion
>();
80
private static IEnumerable<
Suggestion
> FilterByShortestDistance(this IEnumerable<
Suggestion
> possibleMatches)
167
private static
Suggestion
SetSelection(
Suggestion
s)