7 overrides of KeywordText
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (7)
Recommendations\DynamicKeywordRecommenderTests.cs (1)
17
protected override string
KeywordText
=> "dynamic";
Recommendations\KeywordRecommenderTests.cs (1)
18
protected override string
KeywordText
{ get; }
Recommendations\NintKeywordRecommenderTests.cs (1)
11
protected override string
KeywordText
=> "nint";
Recommendations\NotnullKeywordRecommenderTests.cs (1)
16
protected override string
KeywordText
=> "notnull";
Recommendations\NuintKeywordRecommenderTests.cs (1)
11
protected override string
KeywordText
=> "nuint";
Recommendations\ScopedKeywordRecommenderTests.cs (1)
14
protected override string
KeywordText
=> "scoped";
Recommendations\VarKeywordRecommenderTests.cs (1)
17
protected override string
KeywordText
=> "var";
6 references to KeywordText
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (6)
Recommendations\RecommenderTests.cs (6)
71
Assert.False(true, "Wanted keyword, but in non-user code position: " +
KeywordText
);
93
Assert.False(true, "No recommender for: " +
KeywordText
);
99
Assert.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);