Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-465833: Convert Property to Method doesn't work with statement lambda

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Aug 14, 2017 11:04:14 AM
Updated Apr 9, 2018 12:12:25 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Submitted
Type Bug
Fix version 2017.3
Affected versions 2017.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Converting this property into a couple of methods:
int currentIndex 
{
get => cursor.currentIndex;
set => cursor.currentIndex = value;
}
Results in this:
void setCurrentIndex(int value);

int getCurrentIndex();
I.e. the bodies are lost. The refactoring should internally convert to statement body first, if that's what's required.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>