Skip to content

Description of code fix for "unnecessary assignment" is misleading when the variable is removed #40002

@davkean

Description

@davkean

Version Used:
Version 16.5.0 Preview 2.0 [29524.9.master]

Steps to Reproduce:

image

Expected Behavior:
"Remove unnecessary variable"

Actual Behavior:
"Use discard '_'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-IDEConcept-Continuous ImprovementIDE-CodeStyleBuilt-in analyzers, fixes, and refactoringshelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on it

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions