Skip to content

CS0017 (multiple entry point) isn't always emitted #46831

@Youssef1313

Description

@Youssef1313

The following code emits CS0017 correctly:

    public class C
    {
        public static void Main() { }
        public static void Main(string[] args) { }
    }

However, the following code doesn't emit CS0017, which I believe should be emitted.

    public class C
    {
        public static async Task Main() { }
        public static void Main(string[] args) { }
    }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions