Skip to content

Commit 1711895

Browse files
authored
enh(csharp) add contextual keywords file, args, dynamic, record, required and scoped (#4087)
1 parent 263980c commit 1711895

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Core Grammars:
1414
- enh(erlang) OTP 27 Sigil type [nixxquality][]
1515
- enh(erlang) OTP25/27 maybe statement [nixxquality][]
1616
- enh(dart) Support digit-separators in number literals [Sam Rawlins][]
17+
- enh(csharp) add Contextual keywords `file`, `args`, `dynamic`, `record`, `required` and `scoped` [Alvin Joy][]
1718

1819
New Grammars:
1920

@@ -35,6 +36,7 @@ CONTRIBUTORS
3536
[William Wilkinson]: https://github.com/wilkinson4
3637
[nixxquality]: https://github.com/nixxquality
3738
[srawlins]: https://github.com/srawlins
39+
[Alvin Joy]: https://github.com/alvinsjoy
3840

3941

4042
## Version 11.10.0

src/languages/csharp.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,14 @@ export default function(hljs) {
117117
'alias',
118118
'and',
119119
'ascending',
120+
'args',
120121
'async',
121122
'await',
122123
'by',
123124
'descending',
125+
'dynamic',
124126
'equals',
127+
'file',
125128
'from',
126129
'get',
127130
'global',
@@ -137,7 +140,10 @@ export default function(hljs) {
137140
'or',
138141
'orderby',
139142
'partial',
143+
'record',
140144
'remove',
145+
'required',
146+
'scoped',
141147
'select',
142148
'set',
143149
'unmanaged',

0 commit comments

Comments
 (0)