Skip to content

INTL0003 triggers on generated main methods #229

@Keboo

Description

@Keboo

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

image

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions