Skip to content

Expose '$Main' via WellKnownMemberNames #45110

@sharwell

Description

@sharwell

Currently we hard-coded $Main as a symbol name:

=> (methodSymbol.Name == WellKnownMemberNames.EntryPointMethodName || methodSymbol.Name == "$Main") &&

We should define a constant in WellKnownMemberNames for this and reference it from the analyzer.

🔗 Originally requested in #45090 (comment)

Metadata

Metadata

Assignees

Labels

Area-IDEBugConcept-APIThis issue involves adding, removing, clarification, or modification of an API.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions