Skip to content

CollectionExtensions: Duplicate type in System.Collections and M.E.DependencyModel #34420

@eerhardt

Description

@eerhardt

The type System.Collections.Generic.CollectionExtensions is defined in multiple seed assemblies.
The multiple assemblies are Microsoft.Extensions.DependencyModel.dll, System.Collections.dll.

This is a pre-existing issue that was discovered moving Microsoft.Extensions.DependencyModel into src\libraries, see #34296. We've suppressed the duplicate error for now.

To fix this, I recommend we rename the CollectionExtensions in Microsoft.Extensions.DependencyModel, which would be a breaking change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-DependencyModelbreaking-changeIssue or PR that represents a breaking API or functional change over a previous release.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions