- Notifications
You must be signed in to change notification settings - Fork4.2k
Update F1 keywords to disambiguateclass#48506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
6dda15e75b7f72d2ac73bc2166f36b60abc99eb5127c7845bbecfcf8File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Keyword method to make maintenance of suffixes easier- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -360,10 +360,10 @@ private static bool TryGetTextForKeyword(SyntaxToken token, ISyntaxFactsService | ||
| if (token.IsKind(SyntaxKind.ClassKeyword)) { | ||
| if (token.Parent is ClassOrStructConstraintSyntax) { | ||
| text =Keyword("classconstraint"); | ||
| return true; | ||
| } else { | ||
| text =Keyword("class"); | ||
| return true; | ||
| } | ||
| } | ||
| ||