Skip to content

[Bug] GenerateReferenceAssemblySource drops constraint #100843

@terrajobst

Description

@terrajobst

A community member pointed out to me that System.Enum.GetNames<TEnum>() dropped the Enum constraint while the implementation still has it.

Running Git Blame revealed that this changed in e5d59bd by @jkotas.

It looks like the tool has dropped this constraint but not in all cases.

It would be good to understand why that is so we don't inadvertently change the reference assemblies.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions