Reporter | Lilia Shamsutdinova (Lilia.Shamsutdinova) |
---|---|
Created | Apr 17, 2018 4:21:22 PM |
Updated | Apr 17, 2018 4:21:22 PM |
Subsystem | Refactorings |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Show-stopper |
State | Submitted |
Type | Bug |
Fix version | 2018.2 |
Affected versions | 2018.2 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
JetBrains ReSharper Ultimate 182.0.20180416.132916-eap00d.
ExtractMembersToPartia1l.cs
public partial class ExtractMembersToPartial
{
public ExtractMembersToPartial(string test)
{
myString = test;
}
#region Test
public string MyString
{
get { return myString; }
}
#endregion
}
ExtractMembersToPartial.cs
public partial class ExtractMembersToPartial
{
#region Test
public string myString;
#endregion
}
- Invoke Refactor This -> Extract Members To Partial on
MyString
inExtractMembersToPartia1l.cs
. - Set "ExtractMembersToPartial.cs" as Select existing part.
- Click Next.
Actual result:ExtractMembersToPartia1l.cs
file is opened and focused in editor.
Expected result:ExtractMembersToPartial.cs
file (to which members were extracted) is opened and focused in editor.