Skip to content

FindAllReferences should handle Dispose referenced in using and foreach statements #28228

@jcouv

Description

@jcouv

See comment in ComputeImplicitReferenceConflictsAsync: // TODO: handle Dispose for using statement and Add methods for collection initializers.

Note, if this done at the same time or after C# 8.0, FAR should also account for DisposeAsync in async-foreach and async-dispose statements.

Relates to #28230

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions