Merge branch 'jv/userdiff-csharp-update'
The userdiff pattern for C# learned the token "record". * jv/userdiff-csharp-update: userdiff: add support for C# record types
This commit is contained in:
commit
f741069550
@ -65,7 +65,7 @@ PATTERNS("csharp",
|
||||
/* Properties */
|
||||
"^[ \t]*(((static|public|internal|private|protected|new|virtual|sealed|override|unsafe)[ \t]+)*[][<>@.~_[:alnum:]]+[ \t]+[@._[:alnum:]]+)[ \t]*$\n"
|
||||
/* Type definitions */
|
||||
"^[ \t]*(((static|public|internal|private|protected|new|unsafe|sealed|abstract|partial)[ \t]+)*(class|enum|interface|struct)[ \t]+.*)$\n"
|
||||
"^[ \t]*(((static|public|internal|private|protected|new|unsafe|sealed|abstract|partial)[ \t]+)*(class|enum|interface|struct|record)[ \t]+.*)$\n"
|
||||
/* Namespace */
|
||||
"^[ \t]*(namespace[ \t]+.*)$",
|
||||
/* -- */
|
||||
|
Loading…
Reference in New Issue
Block a user