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