IntelliTect / IntelliTect/CodingGuidelines

INTL0003 triggers on generated main methods

未关闭
#229 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
C#
星标
12
派生
16
平均合并
2 分钟
30 天内合并 PR
7

描述

Create a new minimal API ASP.NET Core project.
Observed: The analyzer triggers on the generated main method.

![image](https://user-images.githubusercontent.com/952248/164064604-a6156be7-7de5-4ad6-8aef-b457252e1bdc.png)

I suggest we make the analyzer ignore all methods that do not start with a letter or underscore (Full language spec here: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/lexical-structure#643-identifiers)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。