File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ Comprehensive supports C# 1 through 10.0 with the following exceptions:
5151
5252#### C# 11.0 (under development)
5353
54- - [ ] Generic attributes
54+ - [x ] Generic attributes
5555- [x] Static abstract members in interfaces
5656- [x] Newlines in string interpolations
5757- [ ] List patterns
Original file line number Diff line number Diff line change @@ -315,4 +315,22 @@ void A() { }
315315 (void_keyword)
316316 (identifier)
317317 (parameter_list)
318+ (block))))
319+
320+ =======================================
321+ Generic attribute
322+ =======================================
323+ [Theory<About,Life>]
324+ void A() { }
325+
326+ ---
327+
328+ (compilation_unit
329+ (global_statement
330+ (local_function_statement
331+ (attribute_list
332+ (attribute (generic_name (identifier) (type_argument_list (identifier) (identifier)))))
333+ (void_keyword)
334+ (identifier)
335+ (parameter_list)
318336 (block))))
You can’t perform that action at this time.
0 commit comments