7 overrides of KeywordText
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (7)
Recommendations\DynamicKeywordRecommenderTests.cs (1)
17protected override string KeywordText => "dynamic";
Recommendations\KeywordRecommenderTests.cs (1)
18protected override string KeywordText { get; }
Recommendations\NintKeywordRecommenderTests.cs (1)
11protected override string KeywordText => "nint";
Recommendations\NotnullKeywordRecommenderTests.cs (1)
16protected override string KeywordText => "notnull";
Recommendations\NuintKeywordRecommenderTests.cs (1)
11protected override string KeywordText => "nuint";
Recommendations\ScopedKeywordRecommenderTests.cs (1)
14protected override string KeywordText => "scoped";
Recommendations\VarKeywordRecommenderTests.cs (1)
17protected override string KeywordText => "var";
6 references to KeywordText
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (6)
Recommendations\RecommenderTests.cs (6)
74Assert.False(true, "Wanted keyword, but in non-user code position: " + KeywordText); 96Assert.False(true, "No recommender for: " + KeywordText); 102Assert.Equal(KeywordText, result!.Keyword); 115=> VerifyInFrontOfCommentAsync(text, position, absent, KeywordText[..1], options: options, matchPriority: matchPriority); 136=> VerifyAtPositionAsync(text, position, absent, KeywordText[..1], options: options, matchPriority: matchPriority); 163=> VerifyAtEndOfFileAsync(text, position, absent, KeywordText[..1], options: options, matchPriority: matchPriority);