Steven Jeuris
ec0e3075d2
userdiff: better method/property matching for C#
...
- Support multi-line methods by not requiring closing parenthesis.
- Support multiple generics (comma was missing before).
- Add missing `foreach`, `lock` and `fixed` keywords to skip over.
- Remove `instanceof` keyword, which isn't C#.
- Also detect non-method keywords not positioned at the start of a line.
- Added tests; none existed before.
The overall strategy is to focus more on what isn't expected for
method/property definitions, instead of what is, but is fully optional.
Signed-off-by: Steven Jeuris <steven.jeuris@gmail.com >
Acked-by: Johannes Sixt <j6t@kdbg.org >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2024-04-05 15:21:43 -07:00
..
2020-10-22 10:29:30 -07:00
2020-10-22 10:29:30 -07:00
2020-10-22 10:29:30 -07:00
2020-10-22 10:29:30 -07:00
2020-10-22 10:29:30 -07:00
2020-10-22 10:29:30 -07:00
2020-10-22 10:29:30 -07:00
2020-10-22 10:29:30 -07:00
2020-10-22 10:29:30 -07:00
2020-10-22 10:29:30 -07:00
2020-10-22 10:29:30 -07:00
2020-10-22 10:29:30 -07:00
2020-10-22 10:29:30 -07:00
2020-10-22 10:29:30 -07:00
2020-10-22 10:29:30 -07:00
2014-03-21 15:03:29 -07:00
2014-03-21 15:03:32 -07:00
2014-03-21 15:03:32 -07:00
2014-03-21 15:03:29 -07:00
2014-03-21 15:03:32 -07:00
2014-03-21 15:03:32 -07:00
2014-03-21 15:03:29 -07:00
2014-03-21 15:03:32 -07:00
2014-03-21 15:03:32 -07:00
2014-03-21 15:03:32 -07:00
2014-03-21 15:03:32 -07:00
2014-03-21 15:03:29 -07:00
2014-03-21 15:03:29 -07:00
2014-03-21 15:03:29 -07:00
2014-03-21 15:03:29 -07:00
2014-03-21 15:03:32 -07:00
2014-03-21 15:03:32 -07:00
2014-03-21 15:03:32 -07:00
2014-03-21 15:03:29 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2024-04-05 15:21:43 -07:00
2020-10-08 10:21:11 -07:00
2020-10-08 10:21:11 -07:00
2020-10-08 10:21:11 -07:00
2016-06-03 14:45:56 -07:00
2016-06-03 14:45:56 -07:00
2020-10-08 10:21:11 -07:00
2016-06-03 14:45:56 -07:00
2016-06-03 14:45:56 -07:00
2020-10-08 10:21:11 -07:00
2016-06-03 14:45:56 -07:00
2014-03-21 15:02:57 -07:00
2014-03-21 15:02:57 -07:00
2014-03-21 15:02:57 -07:00
2019-08-21 15:09:34 -07:00
2019-08-21 15:09:34 -07:00
2019-08-21 15:09:34 -07:00
2019-10-21 17:44:12 +09:00
2019-08-21 15:09:34 -07:00
2019-08-21 15:09:34 -07:00
2019-10-21 17:44:12 +09:00
2019-08-21 15:09:34 -07:00
2019-10-21 17:44:12 +09:00
2019-10-21 17:44:12 +09:00
2019-11-10 15:26:26 +09:00
2019-11-10 15:26:26 +09:00
2019-11-10 15:26:26 +09:00
2019-11-10 15:26:26 +09:00
2019-11-10 15:26:26 +09:00
2019-11-10 15:26:26 +09:00
2019-11-10 15:26:26 +09:00
2019-11-10 15:26:26 +09:00
2019-11-10 15:26:26 +09:00
2019-11-10 15:26:26 +09:00
2020-08-13 11:21:17 -07:00
2020-08-13 11:21:17 -07:00
2020-08-13 11:21:18 -07:00
2020-08-13 11:21:17 -07:00
2020-08-13 11:21:17 -07:00
2020-08-13 11:21:17 -07:00
2020-08-13 11:21:17 -07:00
2020-08-13 11:21:17 -07:00
2020-08-13 11:21:17 -07:00
2020-08-13 11:21:17 -07:00
2018-03-01 13:36:49 -08:00
2018-03-01 13:36:49 -08:00
2018-03-01 13:36:49 -08:00
2018-03-01 13:36:49 -08:00
2018-03-01 13:36:49 -08:00
2023-02-08 12:56:57 -08:00
2021-08-11 11:11:30 -07:00
2023-02-08 12:56:57 -08:00
2023-02-08 12:56:57 -08:00
2023-02-08 12:56:57 -08:00
2021-08-11 11:11:30 -07:00
2023-02-08 12:56:57 -08:00
2023-02-08 12:56:57 -08:00
2021-08-11 11:11:30 -07:00
2021-08-11 11:11:30 -07:00
2021-08-11 11:11:30 -07:00
2023-02-08 12:57:13 -08:00
2023-02-08 12:57:11 -08:00
2023-02-08 12:57:11 -08:00
2023-02-08 12:57:11 -08:00
2023-02-08 12:57:13 -08:00
2023-02-08 12:57:13 -08:00
2023-02-08 12:57:13 -08:00
2023-02-08 12:57:13 -08:00
2023-02-08 12:57:13 -08:00
2022-03-12 18:15:47 -08:00
2022-03-12 18:15:47 -08:00
2022-03-12 18:15:47 -08:00
2022-03-12 18:15:47 -08:00
2022-03-12 18:15:47 -08:00
2022-03-12 18:15:47 -08:00
2022-03-12 18:15:47 -08:00
2022-03-12 18:15:47 -08:00
2022-03-12 18:15:47 -08:00
2020-05-02 18:04:12 -07:00
2020-05-02 18:04:12 -07:00
2019-05-19 10:45:28 +09:00
2019-05-19 10:45:28 +09:00
2019-05-19 10:45:28 +09:00
2019-05-19 10:45:28 +09:00
2019-05-19 10:45:28 +09:00
2014-03-21 15:02:19 -07:00
2014-03-21 15:02:19 -07:00
2014-03-21 15:02:19 -07:00
2018-07-06 14:59:28 -07:00
2020-10-07 08:45:43 -07:00
2021-08-31 12:13:36 -07:00
2018-07-06 14:59:28 -07:00
2020-10-07 08:45:43 -07:00
2018-07-06 14:56:42 -07:00
2018-07-06 14:59:28 -07:00
2018-07-06 14:56:42 -07:00
2018-07-06 14:59:28 -07:00
2019-11-20 16:31:43 +09:00
2019-11-20 16:31:43 +09:00
2019-11-20 16:31:43 +09:00
2019-11-20 16:31:43 +09:00
2019-11-20 16:31:43 +09:00
2019-11-20 16:31:43 +09:00
2021-04-08 12:19:10 -07:00
2019-05-17 12:54:02 +09:00
2019-05-17 12:54:02 +09:00
2020-10-07 08:48:20 -07:00
2019-05-17 12:54:02 +09:00
2019-05-17 12:54:02 +09:00
2021-04-08 13:56:09 -07:00
2021-04-08 13:56:09 -07:00
2021-04-08 13:56:09 -07:00
2021-04-08 13:56:09 -07:00
2021-04-08 13:56:09 -07:00
2021-04-08 13:56:09 -07:00
2021-04-08 13:56:09 -07:00
2021-04-08 13:56:09 -07:00
2021-04-08 13:56:09 -07:00
2021-04-08 13:56:09 -07:00
2021-04-08 13:56:09 -07:00