Skip to content

[LB UX Study]Remove Unnecessary Cast has different behavior between primary single fix and fix all occurences so far as removing unnecessary parens goes #225

@mavasani

Description

@mavasani

Ported from TFS WorkItem: 1115010


Repro Steps:

1. Open attached solution

2. Open MainWindow.xaml.cs

3. Place cursor anywhere on Line 39

4. Hit Ctrl + .

5. Select Fix All Occurences for Remove Unnecessary Cast fix


Actual: Notice extra parens that are not removed



Expected: Extra parens should be removed - they are correctly removed in the primary (single) fix (see preview pane screenshot above / 'preview changes' screenshot below)

 


 

 


Revisions:

  1. Created by Shyam Namboodiripad (1/26/2015 3:16:08 PM)

Lower pri - but its interesting that fix all and primary fix can have different behavior...


  1. Edited by Mark Wilson-Thomas (1/27/2015 10:03:38 AM)

[Marking up as this was identified by an end user in a usability study]


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions