Skip to content

Do not use $Program and $Main for generated top-level code type/method names #45564

@tmat

Description

@tmat

$Program and $Main are valid identifiers in EE context, so there might be a potential confusion.

It would be better to use the pattern already established for other generated names in C# compiler:
http://sourceroslyn.io/#Microsoft.CodeAnalysis.CSharp/Symbols/Synthesized/GeneratedNames.cs,25

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions