8 references to PossibleMatch
Microsoft.DotNet.Cli.Utils (8)
TypoCorrection.cs (8)
30
.Where(s => s.
PossibleMatch
.StartsWith(currentToken))
39
return matchByStartsWith.Select(s => s.
PossibleMatch
);
48
&& s.
PossibleMatch
.Contains(currentToken)
59
.Select(s => s.
PossibleMatch
);
65
.Select(s => new Suggestion(s.
PossibleMatch
, GetDistance(s.
PossibleMatch
, currentToken)))
68
.ThenByDescending(s => GetStartsWithDistance(currentToken, s.
PossibleMatch
))
75
.Select(s => s.
PossibleMatch
);