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)
71Assert.False(true, "Wanted keyword, but in non-user code position: " + KeywordText); 93Assert.False(true, "No recommender for: " + KeywordText); 99Assert.Equal(KeywordText, result!.Keyword); 112=> VerifyInFrontOfCommentAsync(text, position, absent, KeywordText[..1], options: options, matchPriority: matchPriority); 133=> VerifyAtPositionAsync(text, position, absent, KeywordText[..1], options: options, matchPriority: matchPriority); 160=> VerifyAtEndOfFileAsync(text, position, absent, KeywordText[..1], options: options, matchPriority: matchPriority);