Skip to content

Implement UnnecessaryIEnumerableDefinition #338

@Vannevelj

Description

@Vannevelj

If a method accepts an IEnumerable but all usages of that method pass in the same type (e.g. List<T> or T[]) then we don't need IEnumerable and we should just use the type directly to avoid interface dispatch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions