6 writes to RecommendKeywordsAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (6)
Recommendations\DynamicKeywordRecommenderTests.cs (1)
23
this.
RecommendKeywordsAsync
= (position, context) => Task.FromResult(_recommender.RecommendKeywords(position, context, CancellationToken.None));
Recommendations\KeywordRecommenderTests.cs (1)
53
RecommendKeywordsAsync
= (position, context) => Task.FromResult(recommender.GetTestAccessor().RecommendKeywords(position, context));
Recommendations\NativeIntegerKeywordRecommenderTests.cs (1)
21
RecommendKeywordsAsync
= (position, context) => Task.FromResult(Recommender.RecommendKeywords(position, context, CancellationToken.None));
Recommendations\NotnullKeywordRecommenderTests.cs (1)
22
this.
RecommendKeywordsAsync
= (position, context) => Task.FromResult(_recommender.RecommendKeywords(position, context, CancellationToken.None));
Recommendations\ScopedKeywordRecommenderTests.cs (1)
20
this.
RecommendKeywordsAsync
= (position, context) => Task.FromResult(_recommender.RecommendKeywords(position, context, CancellationToken.None));
Recommendations\VarKeywordRecommenderTests.cs (1)
23
this.
RecommendKeywordsAsync
= (position, context) => Task.FromResult(_recommender.RecommendKeywords(position, context, CancellationToken.None));
4 references to RecommendKeywordsAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (4)
Recommendations\RecommenderTests.cs (4)
83
if (
RecommendKeywordsAsync
!= null)
85
var keywords = await
RecommendKeywordsAsync
(position, context);
91
if (
RecommendKeywordsAsync
== null)
97
var result = (await
RecommendKeywordsAsync
(position, context)).SingleOrDefault();