Reporter |
|
---|---|
Created | Mar 26, 2018 1:06:43 PM |
Updated | Apr 9, 2018 3:41:43 PM |
Subsystem | Refactorings |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Normal |
State | Fixed In Branch |
Type | Bug |
Fix version | 2018.2 |
Affected versions | 2018.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
JetBrains ReSharper Ultimate 2018.1 EAP 4 D Build 12.0.20180322.125946-eap04d.
private string _faculty;
public void SetFaculty(string value)
{
_faculty = value;
}
public string Faculty
{
get { return _faculty; }
}
- Invoke Refactor This -> Convert Method To Property on
SetFaculty
- Inspect "Convert Method To Property" dialog.
Actual result:
No warnings.
Expected result:
Warning "Type member with this name already exists" is shown.
NOTE:
After changing Name to "Faculty1" and then back to "Faculty" then the warning is shown.