Skip to content

DoNotEnumerateCollectionInLinqChainAnalyzer: investigate different collection types  #33

@ronimizy

Description

@ronimizy

Analyzer is probably working incorrect for types that are not just memory mapping of IEnumerable (ie Dictionary, Lookup, HashSet). As these types are doing some logic on enumerable values, just removing them can be incorrect.

We should investigate on correct and incorrect cases, and provide proper code fixes, that won't change logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions